## Sample single precision floating-point values for IEEE 754 arithmetic

Some sample float bit patterns, together with their mathematical values, are given in Table 24.

Table 24. Sample single-precision floating-point values

Float valueSExpFracMathematical valueNotes[a]
0x3F80000000x7F000...0001.0-
0xBF80000010x7F000...000-1.0-
0x3F80000100x7F000...0011.000 000 119a
0x3F40000000x7E100...0000.75-
0x0080000000x01000...0001.18*10-38b
0x0000000100x00000...0011.40*10-45c
0x7F7FFFFF00xFE111...1113.40*1038d
0x7F80000000xFF000...000Plus infinity-
0xFF80000010xFF000...000Minus infinity-
0x0000000000x00000...0000.0e
0x7F80000100xFF000...001Signaling NaNf
0x7FC0000000xFF100...000Quiet NaNf

### Notes on sample single precision floating-point values

a

The smallest representable number that can be seen to be greater than 1.0. The amount that it differs from 1.0 is known as the machine epsilon. This is 0.000 000 119 in float, and 0.000 000 000 000 000 222 in double. The machine epsilon gives a rough idea of the number of significant figures the format can keep track of. float can do six or seven places. double can do fifteen or sixteen.

b

The smallest value that can be represented as a normalized number in each format. Numbers smaller than this can be stored as denormals, but are not held with as much precision.

c

The smallest positive number that can be distinguished from zero. This is the absolute lower limit of the format.

d

The largest finite number that can be stored. Attempting to increase this number by addition or multiplication causes overflow and generates infinity (in general).

e

Zero. Strictly speaking, they show plus zero. Zero with a sign bit of 1, minus zero, is treated differently by some operations, although the comparison operations (for example == and !=) report that the two types of zero are equal.

f

There are two types of NaNs, signaling NaNs and quiet NaNs. Quiet NaNs have a 1 in the first bit of Frac, and signaling NaNs have a zero there. The difference is that signaling NaNs cause an exception when used, whereas quiet NaNs do not.

### See also

Concepts
Other information
 Copyright © 2010-2011 ARM. All rights reserved. ARM DUI 0475C Non-Confidential ID080411 PDF version