summaryrefslogtreecommitdiff
path: root/src/stdlib/ecvt.c
AgeCommit message (Collapse)AuthorLines
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-0/+1
2013-08-07fix ecvt/fcvt decimal point position outputRich Felker-1/+1
these functions are obsolete and have no modern standard. the text in SUSv2 is highly ambiguous, specifying that "negative means to the left of the returned digits", which suggested to me that 0 would mean to the right of the first digit. however, this does not agree with historic practice, and the Linux man pages are more clear, specifying that a negative value means "that the decimal point is to the left of the start of the string" (in which case, 0 would mean the start of the string, in accordance with historic practice).
2012-02-06add deprecated (removed from posix) [efg]cvt() functionsRich Felker-0/+19
these have not been heavily tested, but they should work as described in the old standards. probably broken for non-finite values...