David Schultz
9cb4166881
On platforms where long is 64 bits, make sure gdtoa doesn't use a
...
long when it really wants an int.
2007-12-17 00:19:49 +00:00
David Schultz
273147031f
Merge local diffs.
2007-01-03 04:59:33 +00:00
David Schultz
ba54cdcdda
Configure gdtoa so that floating-point numbers are correctly rounded
...
when they are printed in non-default rounding modes.
2005-01-18 18:56:18 +00:00
David Schultz
d086ded323
Userland spinlocks bad. Sleep locks good.
...
Use the latter for gdtoa.
Requested by: deischen (far too long ago)
2003-06-21 08:20:14 +00:00
David Schultz
6836976246
Add some missing prototypes to eliminate some warnings. These already
...
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
2003-04-09 06:04:35 +00:00
David Schultz
628f583ce9
Add missing prototype for gdtoa().
2003-04-05 22:09:26 +00:00
David Schultz
1dd3a3db1d
Enable locale support in strtod() and dtoa().
...
Noticed by: ache
Reviewed by: mike (mentor)
2003-03-19 20:25:45 +00:00
David Schultz
de9840c6e5
Local patches:
...
- 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
2003-03-12 20:20:22 +00:00
David Schultz
cc36ccd13b
Initial import of David Gay's gdtoa library for conversion between
...
strings and floating point.
2003-03-12 20:18:32 +00:00