Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | I am retiring my old email address; replace it with my OpenBSD one. | millert | 2019-01-25 | 1 | -2/+2 |
| | |||||
* | Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly | guenther | 2013-11-01 | 1 | -4/+2 |
| | | | | ok deraadt@ | ||||
* | Make gcvt() better match printf("%g") behavior, it now passes regress. | millert | 2010-09-25 | 1 | -11/+23 |
| | | | | OK deraadt@ | ||||
* | teach gdtoa & its subroutines that malloc can fail; in which case | martynas | 2009-10-16 | 1 | -1/+3 |
| | | | | | | ecvt, fcvt, gcvt, *printf, strtof, strtod, strtold act per ieee 1003.1. after these massive changes, remove unused files which would not work now. reported by Maksymilian Arciemowicz; ok theo | ||||
* | make __dtoa & strtod() thread-safe useing the same method as newer gdtoa | deraadt | 2006-10-29 | 1 | -1/+4 |
| | | | | | codebase. tested mostly by ckuethe and myself. __dtoa() use now requires a call to __freedtoa() | ||||
* | Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa) | millert | 2006-01-10 | 1 | -4/+8 |
| | | | | Remove an extraneous check for dtoa returning Inf/Nan | ||||
* | Use localeconv() to get the locale-specific radix char like printf does. | millert | 2006-01-10 | 1 | -3/+6 |
| | |||||
* | Nan and Infinity can be negative | millert | 2006-01-10 | 1 | -6/+12 |
| | | | | | | | Decimal point was missing for some exponential output Only divide sign by 10 once per loop Add a missing NUL terminator for one case If there is no whole number portion, print a leading zero (e.g. 0.1 not .1) | ||||
* | zap remaining rcsid. | espie | 2005-08-08 | 1 | -5/+1 |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | Sync with share/misc/license.template and add missing DARPA credit | millert | 2003-06-17 | 1 | -10/+14 |
| | | | | where applicable. | ||||
* | Use an ISC-tyle license for all my code; it is simpler and more permissive. | millert | 2003-06-03 | 1 | -23/+12 |
| | |||||
* | Pass ndigit+1 as size arg to strlcpy() since ndigit doesn't include the NUL | millert | 2003-05-09 | 1 | -3/+3 |
| | |||||
* | use strlcpy(); assumes buf is at least ndigit bytes long which is as | millert | 2003-04-02 | 1 | -4/+7 |
| | | | | safe as we can get. deraadt@ OK | ||||
* | Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code. | millert | 2002-12-02 | 1 | -0/+103 |