Keil Logo

FLOAT64 Compiler Directive

Abbreviation

F64

Arguments

None.

Default

32-bit floating-point math is used.

µVision

Options — C166 — Double-precision Floating-point.

Description

The FLOAT64 directive enables 64-bit (double-precision) floating-point math for double variable types in your C programs. Variables of type float continue to use 32-bit floating-point math.

By default, all floating-point math is performed using 32-bits (even when the double type is specified.) The FLOAT64 directive must be specified to use 64-bit floating-point math.

Example
C166 SAMPLE.C FLOAT64

#pragma float64
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.