Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | support FLT_EVAL_METHOD changing on x86 with gcc -msse2 -mfpmath=sse | Rich Felker | 2012-04-27 | 1 | -0/+4 |
| | | | | | if the compiler provides a value, use it; otherwise fallback to the platform default (2). | ||||
* | fix DECIMAL_DIG definitions | Rich Felker | 2012-03-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | 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. | ||||
* | add missing float.h macros | Rich Felker | 2011-04-10 | 1 | -0/+3 |
| | | | | | | actually FLT_ROUNDS needs to expand to a static inline function that obtains the current rounding mode and returns it, but that will be added later with fenv.h stuff. | ||||
* | preparing build system to handle ports - step 1 | Rich Felker | 2011-02-15 | 1 | -0/+11 |