| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | adapt the NetBSD code to make sigpending work on sh | 2012-07-03 | 1 | -2/+6 | |
| | | | | | ok miod@ kettenis@ | ||||
| * | Do not use <machine/float.h>, that is an deformed BSD-ism. | 2012-06-25 | 1 | -2/+2 | |
| | | | | | | It turns out <float.h> is the right file to pull in. ok millert | ||||
| * | __tfork() needs to set the stack address of the new thread in the kernel, | 2012-06-21 | 1 | -4/+3 | |
| | | | | | | | | | | so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@ | ||||
| * | remove rfork(); ok guenther miod | 2012-04-12 | 1 | -32/+0 | |
| | | |||||
| * | Move __tfork_thread() from rthreads (libpthread) to libc so that | 2012-03-22 | 1 | -0/+61 | |
| | | | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@ | ||||
| * | Revert (leaving the complex math part alone). Some stuff is depending | 2011-07-08 | 2 | -3/+43 | |
| | | | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me. | ||||
| * | Move fabs(3), frexp(3), and modf(3) to libm--nothing has been using | 2011-07-08 | 2 | -43/+3 | |
| | | | | | them in libc for a very long time. OK guenther@. | ||||
| * | Move __cerror to ___cerror with a weak alias so that rthreads can override it. | 2011-04-04 | 2 | -4/+7 | |
| | | | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@ | ||||
| * | Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platforms | 2010-10-01 | 1 | -5/+3 | |
| | | | | | | | | that didn't already have one, and then immediately use it in libc's SYS.h ok miod@ | ||||
| * | remove from gen so that lint doesn't check gen if assembly versions | 2009-04-21 | 1 | -2/+3 | |
| | | | | | are available. spotted by theo | ||||
| * | - ldexp implementation has issues. switch to the one from libm | 2009-04-19 | 3 | -452/+2 | |
| | | | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@ | ||||
| * | this is not a write-only register. might have caused to optimize | 2009-04-05 | 1 | -2/+2 | |
| | | | | | it away. ok miod@ | ||||
| * | 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 | -96/+17 | |
| | | | | | | | | | | | | | | | | | - 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 | ||||
| * | clear sign bit, instead of comparing to zero and setting x=-x. | 2008-07-23 | 1 | -6/+12 | |
| | | | | | | | | fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template | ||||
| * | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | | 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@ | ||||
| * | fix some lint 'xxx used, but not defined' warnings by properly adding | 2007-05-15 | 1 | -1/+3 | |
| | | | | | stuff to LSRCS | ||||
| * | Move landisk to hardware floating point. At the moment the FPU context is | 2007-03-02 | 9 | -136/+265 | |
| | | | | | | | | | | | | | | | | always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build | ||||
| * | Do not use fpu in the softfloat case. Fixes lib/libc/ieeefp/round | 2006-11-14 | 1 | -1/+5 | |
| | | | | | regress test; ok miod@ | ||||
| * | missing ; | 2006-11-13 | 1 | -2/+2 | |
| | | |||||
| * | fix infinity, taking into account endianess. ok drahn@ miod@ | 2006-11-12 | 1 | -2/+6 | |
| | | |||||
| * | Build the correct arch softfloat code. | 2006-11-07 | 1 | -2/+2 | |
| | | |||||
| * | forgot to commit the new files for sh softfloat support. | 2006-11-07 | 3 | -0/+147 | |
| | | |||||
| * | Move (back) to softfloat on sh for now. | 2006-11-06 | 3 | -6/+19 | |
| | | |||||
| * | Dont double fork, and since the assembles the same, use -1, instead of 0xff | 2006-11-03 | 1 | -6/+2 | |
| | | | | | to subtract one. | ||||
| * | and I forgot ldexp.c | 2006-10-11 | 1 | -2/+2 | |
| | | |||||
| * | build modf.c | 2006-10-11 | 1 | -2/+2 | |
| | | |||||
| * | Preliminary userland bits for OpenBSD/landisk, many things coming from | 2006-10-10 | 43 | -0/+2882 | |
| NetBSD. | |||||
