summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa
Commit message (Collapse)AuthorAgeFilesLines
* On platforms where long is 64 bits, make sure gdtoa doesn't use adas2007-12-171-0/+3
| | | | long when it really wants an int.
* Fix previous commit: We should only mask the top bit in the STRTOG_NaNBitsdas2007-12-162-1/+14
| | | | case, not the STRTOG_Normal case.
* Fix strto{f,d,ld}() so they don't return signaling NaNs. C99das2007-12-164-4/+17
| | | | | | | says they are never supposed to, and the fact that they did could cause apps that run with unmasked FP exceptions to SIGFPE after a scanf() or strtod(). The vendor stated that he will not be fixing this, citing portability concerns.
* Some changes the vendor didn't want:das2007-12-161-4/+29
| | | | | | | | - Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same thing as gcc's builtin nan("0x...") for such strings. - Don't return uninitialized memory. - Finish processing the string up to the closing ')' (provided it's lexically valid) for compatibility with C99 and *scanf().
* Merge local diffs.das2007-01-031-25/+27
|
* This commit was generated by cvs2svn to compensate for changes in r165743,das2007-01-0364-933/+1207
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of the latest gdtoa sources, which include fixes for minordas2007-01-0365-960/+1235
| | | | | | | | problems relating to NaNs and rounding.
* | Configure gdtoa so that floating-point numbers are correctly roundeddas2005-01-181-0/+1
| | | | | | | | when they are printed in non-default rounding modes.
* | This commit was generated by cvs2svn to compensate for changes in r124703,das2004-01-193-12/+16
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import gdtoa 20040118. This revision addresses some corner cases indas2004-01-193-12/+16
| | | | | | | | denormal and locale handling in strtod().
* | Userland spinlocks bad. Sleep locks good.das2003-06-211-8/+11
| | | | | | | | | | | | Use the latter for gdtoa. Requested by: deischen (far too long ago)
* | Add some missing prototypes to eliminate some warnings. These alreadydas2003-04-091-0/+21
| | | | | | | | | | | | | | appear without leading underscores in gdtoa.h, but this approach avoids removing that file from the vendor branch and unduly rearranging things. Prodded by: nectar
* | Add missing prototype for gdtoa().das2003-04-051-0/+2
| |
* | This commit was generated by cvs2svn to compensate for changes in r112620,das2003-03-256-33/+23
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import new sources. The only material change in this update is todas2003-03-256-33/+23
| | | | | | | | | | | | | | add locale support for hexadecimal floating point conversions. Noticed by: ache Reviewed by: mike (mentor)
* | Enable locale support in strtod() and dtoa().das2003-03-191-0/+1
| | | | | | | | | | Noticed by: ache Reviewed by: mike (mentor)
* | This commit was generated by cvs2svn to compensate for changes in r112415,das2003-03-195-51/+29
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import gdtoa sources dated 20030318, which contain several locale fixes.das2003-03-195-51/+29
| | | | | | | | Reviewed by: mike (mentor)
* | Local patches:das2003-03-121-49/+99
|/ | | | | | | | - include extra system headers and add appropriate #defines - use a spinlock to synchronize parts of gdtoa - protect exported symbols with leading underscores Reviewed by: bde (briefly), mike (mentor), obrien
* Initial import of David Gay's gdtoa library for conversion betweendas2003-03-1283-0/+24573
strings and floating point.
OpenPOWER on IntegriCloud