DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Floating point operations

Single-precision

Single-precision floating point numbers have the following format:

31 30 23 22 0
SIGN EXPONENT FRACTION
      ^  
      binary point  

Field Position Full name
sign 31 sign bit (0 == positive, 1 == negative)
exponent 30-23 exponent (biased by 127)
fraction 22-0 fraction (bits to right of binary point)


Next topic: Double-precision
Previous topic: IEEE arithmetic

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003