-float_size

Allows changing the format for float (by default IEEE32).

Syntax
  -float_size 4 | 8  

The arguments are as follows:

4 : IEEE32

8 : IEEE64

Default

4

Defines
  __FLOAT_IS_IEEE32__  
  __FLOAT_IS_IEEE64__  
Remarks

For integrity and compliance to ANSI, the following must hold:

  sizeof(float) <= sizeof(double)  
Note: Be careful if you change type sizes. Type sizes must be consistent over the whole application. The libraries delivered with the compiler are compiled with the standard type settings. Also, underflows or overflows might occur following type configuration, for example when you assign a value too large to an object which is now smaller.

For more information, refer to the topic Data Types.