www.delorie.com/gnu/docs/glibc/libc_683.html | search |
Buy the book! | |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The specific representation of floating point numbers varies from machine to machine. Because floating point numbers are represented internally as approximate quantities, algorithms for manipulating floating point data often need to take account of the precise details of the machine's floating point representation.
Some of the functions in the C library itself need this information; for example, the algorithms for printing and reading floating point numbers (see section 12. Input/Output on Streams) and for calculating trigonometric and irrational functions (see section 19. Mathematics) use it to avoid round-off error and loss of accuracy. User programs that implement numerical analysis techniques also often need this information in order to minimize or compute error bounds.
The header file `float.h' describes the format used by your machine.
A.5.3.1 Floating Point Representation Concepts Definitions of terminology. A.5.3.2 Floating Point Parameters Details of specific macros. A.5.3.3 IEEE Floating Point The measurements for one common representation.
webmaster | delorie software privacy |
Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |