Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix printing long doubles on architectures with hm and lm bits. | 2020-05-31 | 1 | -11/+13 | |
| | | | | | | Issue reported with initial patch by enh@google.com. ok deraadt@ | ||||
* | Fix typo in binary-float example in comment | 2018-04-27 | 1 | -2/+2 | |
| | |||||
* | Use stdrup, to avoid clang whining about the length parameters being | 2017-07-27 | 3 | -13/+4 | |
| | | | | | based upon input being used unsafely (they are safe) ok millert kettenis | ||||
* | Delete casts to off_t and size_t that are implied by assignments | 2016-09-21 | 1 | -2/+2 | |
| | | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@ | ||||
* | We are done providing support for the vax. | 2016-03-09 | 1 | -3/+1 | |
| | | | | lots of agreement. | ||||
* | Wrap the remaining __*dtoa() functions so that internal calls go direct | 2015-09-14 | 6 | -2/+20 | |
| | |||||
* | Wrap <stdlib.h> so that calls go direct and the symbols not in the | 2015-09-13 | 5 | -5/+8 | |
| | | | | | | C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols. | ||||
* | hide __dtoa_locks as a static in the single use case; ok guenther | 2015-09-10 | 4 | -10/+6 | |
| | |||||
* | Hide many (194!) symbols that nothing should be using. | 2015-08-26 | 5 | -6/+6 | |
| | | | | | | | Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@ | ||||
* | Only need <stdint.h> and not all of <inttypes.h> here | 2014-08-10 | 1 | -2/+2 | |
| | |||||
* | Swap bitmask values around so that STRTOG_Neg doesn't get affected | 2011-07-03 | 1 | -6/+6 | |
| | | | | by the inexact values. | ||||
* | Rebase on gdtoa-20110428; contains fixes for absurdly long inputs | 2011-07-02 | 14 | -612/+696 | |
| | | | | | | | | | (among other things). Fixes mozilla crasher for the link i was provided with. With the massive local changes to teach that malloc can fail, fixes for the vax, strlcpy, moving things to library namespaces. Tested on all architectures. | ||||
* | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | 2010-02-03 | 1 | -4/+4 | |
| | | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | ||||
* | teach gdtoa & its subroutines that malloc can fail; in which case | 2009-10-16 | 42 | -2986/+381 | |
| | | | | | | 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 | ||||
* | define substitution in some cases might happen after prototypes are | 2009-08-07 | 1 | -39/+39 | |
| | | | | | already pulled; so manually substitute protos ensuring they will always be right; ok millert@ | ||||
* | don't use freelist if it overruns; use heap memory instead not | 2009-06-11 | 1 | -2/+6 | |
| | | | | | trying to allocate large blocks from bss memory pool in this case. problem reported by Maksymilian Arciemowicz. ok otto@, millert@ | ||||
* | strcpy -> strlcpy; ok mbalmer@ martynas@ | 2008-12-12 | 4 | -8/+14 | |
| | |||||
* | bugfix update to gdtoa 2008-10-10. ok millert@, tested by many | 2008-12-09 | 23 | -152/+500 | |
| | |||||
* | build w/ USE_LOCALE. ok millert@ | 2008-10-21 | 1 | -1/+2 | |
| | |||||
* | - replace dtoa w/ David's gdtoa, version 2008-03-15 | 2008-09-07 | 51 | -0/+10023 | |
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes |