9.14 Hexadecimal floats

C90 and C++ support floating-point numbers that can be written in hexadecimal format.

Examples

float hex_floats(void)
{
    return 0x1.fp3;    // 1.55e1
}
Related concepts
5.63 New language features of C99
Non-Confidential PDF file icon PDF version ARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.