Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove from gen so that lint doesn't check gen if assembly versions | 2009-04-21 | 1 | -2/+2 | |
| | | | | are available. spotted by theo | ||||
* | - ldexp implementation has issues. switch to the one from libm | 2009-04-19 | 2 | -143/+2 | |
| | | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@ | ||||
* | use sys/cdefs.h; pointed out by theo | 2008-12-10 | 1 | -2/+2 | |
| | |||||
* | ditto frexpl and ldexpl | 2008-12-09 | 1 | -1/+4 | |
| | |||||
* | alias fabsl to fabs on these archs | 2008-12-09 | 1 | -1/+2 | |
| | |||||
* | remove unused | 2008-12-09 | 5 | -156/+0 | |
| | |||||
* | - add long double signbit | 2008-12-09 | 1 | -2/+1 | |
| | | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@ | ||||
* | - replace dtoa w/ David's gdtoa, version 2008-03-15 | 2008-09-07 | 6 | -1/+158 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||||
* | - move isinf, isnan dups to gen, since most is ieee 754 | 2008-07-24 | 4 | -96/+11 | |
| | | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc | ||||
* | Repair FLT_ROUNDS operation. ok kettenis@ | 2007-10-27 | 1 | -3/+3 | |
| | |||||
* | if we pull in a .S file, we must fake out the lint with a .c file | 2005-11-29 | 1 | -1/+2 | |
| | | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS | ||||
* | zap rcsid. | 2005-08-07 | 20 | -91/+20 | |
| | | | | okay deraadt@ (tested them all) | ||||
* | Replace broken frexp() with a working one from FreeBSD. There's | 2005-02-01 | 2 | -76/+2 | |
| | | | | | | no need to have a copy for each platform with ieee floating point, only vax needs a special version (which probably has similar bugs). OK and with help from otto@ | ||||
* | In _longjmp(), flush windows rather than attempting to backtrack manually, | 2004-05-04 | 1 | -28/+19 | |
| | | | | | | | | | since the latter is not reliable in all cases. This allows ruby to work on sparc64. Problem spotted by claudio@; fix adapted from NetBSD for sparc, FreeBSD for sparc64; ok deraadt@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 13 | -81/+29 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | Add Doug Gwyn's portable alloca() for platforms w/o an assembler | 2003-05-02 | 1 | -1/+2 | |
| | | | | | | | version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure. | ||||
* | Indent delay slot insns | 2003-04-22 | 8 | -43/+43 | |
| | |||||
* | Make the mul/div/rem (and u... versions) weak so that ld.so can override | 2002-11-23 | 3 | -3/+18 | |
| | | | | | it with optimized versions. And allow ld.so to compile with strong versions with extra symbols so it can find them. | ||||
* | _C_LABEL where needed. | 2002-08-05 | 3 | -13/+13 | |
| | |||||
* | Use the LBL isnan() and isinf() on all platforms with ieee floating point. | 2001-09-10 | 2 | -4/+8 | |
| | |||||
* | Use the LBL frexp() on all platforms with ieee floating point. | 2001-09-10 | 1 | -1/+3 | |
| | |||||
* | $OpenBSD$ | 2000-03-01 | 1 | -1/+1 | |
| | |||||
* | pull in protos | 1997-08-01 | 1 | -1/+4 | |
| | |||||
* | tabify | 1997-07-23 | 2 | -4/+4 | |
| | |||||
* | Fix RCS ids | 1996-08-19 | 22 | -69/+76 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | From NetBSD: merge of 960317 | 1996-03-19 | 1 | -4/+8 | |
| | |||||
* | From NetBSD: Add explicit return type | 1996-02-24 | 2 | -2/+4 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 23 | -0/+1792 | |