Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make fcvt decimal point location for zero make more sense | Rich Felker | 2013-08-07 | 1 | -1/+1 |
| | | | | | | | | | | the (obsolete) standard allows either 0 or 1 for the decimal point location in this case, but since the number of zero digits returned in the output string (in this implementation) is one more than the number of digits the caller requested, it makes sense for the decimal point to be logically "after" the first digit. in a sense, this change goes with the previous commit which fixed the value of the decimal point location for non-zero inputs. | ||||
* | add deprecated (removed from posix) [efg]cvt() functions | Rich Felker | 2012-02-06 | 1 | -0/+25 |
these have not been heavily tested, but they should work as described in the old standards. probably broken for non-finite values... |