fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
CHANGE INTRINSICS TO GENERIC FORM
[DO NOT] CHANGE INTRINSICS TO GENERIC FORM
Converts intrinsic functions to the generic forms. For example, DSIN, CSIN and CDSIN are all converted to SIN and the data type of the operation is inferred from context by the compiler.
CHANGE INTRINSICS TO GENERIC FORM is implied by the CHANGE SIZE commands. Conversion may be suppressed by specifying DO NOT CHANGE INTRINSICS TO GENERIC FORM.
Please note that there are rare occurrences where an intrinsic function is passed as an actual sub-program argument. When this occurs, the intrinsic sub-program passed will be the specific intrinsic which corresponds to the generic intrinsic name. The command CHECK ARGUMENTS may be used to detect cases where this may cause a problem.
Where to Use this Command
|Operating system command line||Yes|
|Configuration file, config.fsp||Yes|
|Specification (fsp) files, *.fsp||Yes|
|Interactively, to FPT> prompt||Yes|
|Interactive command files||Yes|
|Embedded in the Fortran code||No|
DO NOT CHANGE INTRINSICS TO GENERIC FORM
(Note that defaults may be changed in the configuration file)
CHANGE LOGICAL SIZE
CHANGE INTEGER SIZE
CHANGE REAL SIZE
CHANGE COMPLEX SIZE
CHANGE DOUBLE PRECISION TO REAL
CHANGE REAL*8 TO DOUBLE PRECISION
Copyright ©1995 to 2023 Software Validation Ltd. All rights reserved.