[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


IEEEdoubles

Description:

Specifies the size of the double type.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC
NEC V800
Intel x86
MIPS

Embedded 68K

Prototype:
  #pragma IEEEdoubles on | off | reset Remarks:

This option, along with the 68881 Codegen option in the 68K Processor settings panel, specifies the length of a double. Table 8.1 shows how these options work.

Using the IEEEdoubles pragma

If the IEEEdoubles pragma is
and 68881 Codegen is
Then a double is this size
on  
on or off  
64 bits  
off  
off  
80 bits  
off  
on  
96 bits  

:

This pragma corresponds to the 8-Byte Doubles option in the 68K Processor settings panel. To check whether this option is on, use __option (IEEEdoubles), described in "Checking Options."


NOTE

Whenever possible, set this option from the settings panel and not from the pragma. If you must set it from a pragma, place the pragma at the beginning of your program, before you include any files or declare any functions or variables.

[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000