The 8051 IAR C/C++ Compiler only supports the 32-bit floating-point format. The 64-bit floating-point format (double) is not supported. All types of the 64-bit floating-point format will be treated as 32-bit floats. Also consider replacing code using floating-point operations with code using integers because these are more efficient.