Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | junk space | 2009-04-29 | 1 | -1/+1 | |
| | |||||
* | remove from gen so that lint doesn't check gen if assembly versions | 2009-04-21 | 1 | -1/+1 | |
| | | | | are available. spotted by theo | ||||
* | - ldexp implementation has issues. switch to the one from libm | 2009-04-19 | 3 | -450/+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 | 2 | -4/+4 | |
| | |||||
* | ditto frexpl and ldexpl | 2008-12-09 | 1 | -1/+4 | |
| | |||||
* | alias fabsl to fabs on these archs | 2008-12-09 | 1 | -1/+4 | |
| | |||||
* | - replace dtoa w/ David's gdtoa, version 2008-03-15 | 2008-09-07 | 3 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | -95/+10 | |
| | | | | | | | | | | | | | | | | - 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 | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 6 | -48/+6 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | Gently cast to make lint happy. | 2006-03-31 | 1 | -2/+2 | |
| | |||||
* | Be kind to lint, and specify the correct width on these constants. | 2006-03-31 | 3 | -6/+6 | |
| | |||||
* | if we pull in a .S file, we must fake out the lint with a .c file | 2005-11-29 | 1 | -0/+1 | |
| | | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS | ||||
* | zap rcsid. | 2005-08-07 | 9 | -50/+9 | |
| | | | | okay deraadt@ (tested them all) | ||||
* | Replace broken frexp() with a working one from FreeBSD. There's | 2005-02-01 | 2 | -75/+1 | |
| | | | | | | 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@ | ||||
* | longjmp should not return 0, if longjmp(..., 0) is invoked return 1. | 2004-03-01 | 1 | -2/+8 | |
| | | | | ok miod@ deraadt@ | ||||
* | These files are not necessary anymore. | 2003-09-01 | 1 | -29/+0 | |
| | |||||
* | Use a logical comparison (unsigned) for pointers. ok drahn@ | 2003-07-10 | 1 | -2/+2 | |
| | |||||
* | terms 3 & 4 cleanup based on "terms" file | 2003-06-03 | 1 | -6/+1 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 5 | -33/+13 | |
| | | | | 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 | -0/+1 | |
| | | | | | | | 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. | ||||
* | Align this char array accessed as double, for paranoia reasons. | 2003-01-29 | 1 | -3/+4 | |
| | |||||
* | Remove some old if 0/if 1 code, it is pointless to keep this in. | 2002-10-24 | 1 | -16/+1 | |
| | |||||
* | kick, kick. Fix these files which did not come from NetBSD, but the | 2002-10-07 | 14 | -6/+375 | |
| | | | | powerpc port by Dale Rahn. | ||||
* | clean up ifdefs for PIC, resulting code unchanged. | 2002-10-07 | 1 | -6/+3 | |
| | |||||
* | s/curbrk/__curbrk/ as suggested by art, a few _ASM_LABEL added as appropriate. | 2002-10-07 | 2 | -14/+14 | |
| | |||||
* | Simpler, smaller, more efficient and equivalent. | 2002-10-07 | 1 | -13/+2 | |
| | |||||
* | cerror -> __cerror as suggested by art, with a couple of missing _ASM_LABEL() | 2002-10-07 | 6 | -10/+10 | |
| | | | | added as appropriate. | ||||
* | make fabs use asm, and license repair | 2002-06-17 | 1 | -6/+32 | |
| | |||||
* | Sync with netbsd version, adds SOFTFLOAT (not supported) and copyright. | 2002-05-08 | 1 | -2/+39 | |
| | |||||
* | OpenBSD tag. | 2002-05-08 | 1 | -0/+1 | |
| | |||||
* | Add copyright block to this file I wrote long ago. | 2002-05-08 | 1 | -0/+31 | |
| | |||||
* | We need to keep K&R compat macros for some ports where the assemnbler is | 2002-02-19 | 2 | -6/+21 | |
| | | | | still using -traditional-cpp. | ||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 2 | -21/+6 | |
| | |||||
* | rfork() needs a fork.S-like stub as well; ok art | 2002-02-17 | 1 | -0/+5 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -65/+65 | |
| | |||||
* | sigprocmask should return 0 on success, fixes powerpc ntpdate problem. | 2002-01-10 | 1 | -0/+1 | |
| | |||||
* | change PSEUDO_NOERROR so it is indeed does not set errno. | 2001-09-20 | 1 | -3/+3 | |
| | |||||
* | Add PSEUDO_NOERROR similar to that used by NetBSD. | 2001-09-20 | 1 | -2/+7 | |
| | | | | | | | | | | | Some ports were setting errno in PSEUDO and some were not. Now errno is set for all in PSEUDO and PSEUDO_NOERROR is provided for the non-errno case (only used by _exit). Needs testing on vax and m88k. XXX - hppa and powerpc still lack a real PSEUDO_NOERROR implementation. Currently PSEUDO_NOERROR and PSEUDO are the same (so builds don't break on those platforms). | ||||
* | Keep the strings fully quoted. | 2001-09-11 | 1 | -2/+2 | |
| | |||||
* | Use the LBL isnan() and isinf() on all platforms with ieee floating point. | 2001-09-10 | 3 | -27/+69 | |
| | |||||
* | Use the LBL frexp() on all platforms with ieee floating point. | 2001-09-10 | 1 | -15/+28 | |
| | |||||
* | Fix the __infinity constant on powerpc. | 2001-08-25 | 1 | -4/+4 | |
| | | | | from a7r@andern.org | ||||
* | PowerPC is big endian, not little endian. This fixes isinf() and isnan() | 2001-05-11 | 1 | -9/+10 | |
| | |||||
* | Properly implement errno handling for the threaded libc (libc_r) | 2000-11-26 | 1 | -17/+3 | |
| | | | | | | | | | The powerpc specific code was previously handling system call errors as if kernel threads existed (currently only userlang threads are modeled). Thus if multiple threads existed in a process, the process would not get the correct errno from a system call. This would cause _many_ tests to fail. Fixing this causes a number of the tests in libc_r/TEST to now work, that did not before, however a few still fail. | ||||
* | weaken syscall symbols in libc by default | 2000-10-06 | 1 | -11/+1 | |
| | |||||
* | $OpenBSD$ | 2000-03-01 | 6 | -7/+11 | |
| | |||||
* | replace the stub ieeefp functions with the real working functions, | 1999-07-23 | 8 | -45/+318 | |
| | | | | from NetBSD. | ||||
* | changes required for powerpc libc_r support. | 1999-06-15 | 1 | -4/+9 | |
| | |||||
* | replacement pipe() system call; copies data into place inside kernel, so | 1999-06-07 | 1 | -16/+0 | |
| | | | | that EFAULT return value is possible | ||||
* | missing parts from last commit | 1999-04-25 | 1 | -1/+1 | |
| |