about summary refs log tree commit diff
path: root/include/float.h
Commit message (Collapse)AuthorAgeFilesLines
* fix DECIMAL_DIG definitionsRich Felker2012-03-211-2/+0
| | | | | | | | | | | | | DECIMAL_DIG is not the same as LDBL_DIG type_DIG is the maximimum number of decimal digits that can survive a round trip from decimal to type and back to decimal. DECIMAL_DIG is the minimum number of decimal digits required in order for any floating point type to survive the round trip to decimal and back, and it is generally larger than LDBL_DIG. since the exact formula is non-trivial, and defining it larger than necessary may be legal but wasteful, just define the right value in bits/float.h.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+34