Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bring reference C code that's not compiled in synch with asm code | 2013-07-15 | 1 | -1/+7 | |
| | | | | okay martynas@ | ||||
* | Switch libc and libm to use strong aliases rather than weak aliases | 2013-03-28 | 1 | -2/+2 | |
| | | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@. | ||||
* | Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB, | 2013-01-13 | 1 | -8/+1 | |
| | | | | and a few empty files for lint to chew on. | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -2/+1 | |
| | | | | ok guenther millert kettenis | ||||
* | Trick lint into recording the right prototypes in the llib-lm.ln | 2011-05-30 | 1 | -3/+8 | |
| | | | | | | | database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@. | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -5/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | use sys/cdefs.h; pointed out by theo | 2008-12-10 | 1 | -2/+2 | |
| | |||||
* | - 80-bit and quad precision trigonometric and other most | 2008-12-09 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | important functions: acosl, asinl, atanl, atan2l, cosl, sinl, tanl, exp2l, frexpl, ilogbl, ldexpl, logbl, scalbnl, fabsl, hypotl, powl, sqrtl, rintl, copysignl, nanl, fdiml, fmaxl, fminl. mostly taken from freebsd, needed alot of changes to adapt. note, these are all c versions; and are quite slow when architectures have, e.g. sqrt. assembly versions will be added afterwards - make them .weak/__weak_alias to the double precision versions on other archs - 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 - remove unused infinity.c. the c library has infinities for each supported platform - use STRICT_ASSIGN cast hack for _kernel_rem_pio2, so that the double version has a chance of working on i386 with extra precision - avoid storing multiple copies of the pi/2 array, since it won't vary - bump major due to removed finite/finitef. although they will be in libc, which anything is linked to, minor bump might be enough ok millert@. tested by sthen@, jsg@, ajacoutot@, kili@, naddy@ | ||||
* | - expressions such as x != x and x == x are prone to errors and | 2008-06-25 | 1 | -3/+3 | |
| | | | | | | | | | ugly, when we have isnan and isinf - no need to check for _IEEE, when checking for not-a-number - remove some impossible checks - while here, drem->remainder, as drem is just an obsolete alias now ok millert@ | ||||
* | cleaning up, no functional changes | 2008-06-21 | 1 | -7/+2 | |
| | | | | | | | - no support for National 32000, removing ns32000/national ifdefs maze - remove tahoe defs - ansify looks fine to millert@; who also noticed rint removal | ||||
* | spacing, add rcs ids, no binary change | 2008-06-12 | 1 | -1/+2 | |
| | |||||
* | some cleanup for noieee_src, as asked by millert@: remove fictional | 2008-06-12 | 1 | -1/+2 | |
| | | | | | includes, include math.h where needed and remove redundant declarations ok millert@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -5/+1 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+76 | |