Next: , Previous: Pragma Finalize_Storage_Only, Up: Implementation Defined Pragmas


Pragma Float_Representation

Syntax:

     pragma Float_Representation (FLOAT_REP[, float_type_LOCAL_NAME]);
     
     FLOAT_REP ::= VAX_Float | IEEE_Float

In the one argument form, this pragma is a configuration pragma which allows control over the internal representation chosen for the predefined floating point types declared in the packages Standard and System. On all systems other than OpenVMS, the argument must be IEEE_Float and the pragma has no effect. On OpenVMS, the argument may be VAX_Float to specify the use of the VAX float format for the floating-point types in Standard. This requires that the standard runtime libraries be recompiled.

The two argument form specifies the representation to be used for the specified floating-point type. On all systems other than OpenVMS, the argument must be IEEE_Float to specify the use of IEEE format, as follows:

On OpenVMS, the argument may be VAX_Float to specify the use of the VAX float format, as follows: