Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-22 | Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc | Pascal Stumpf | |
invocations. This allows us to use the compiler builtin define __PIC__ to check for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot. ok matthew@, conceptually ok kurt@ | |||
2012-04-19 | rely on the compiler giving us a built-in alloca. any new architecture | Theo de Raadt | |
or compiler we use will. ok millert | |||
2012-04-12 | alloca.c cannot be used | Theo de Raadt | |
2011-07-08 | Revert (leaving the complex math part alone). Some stuff is depending | Martynas Venckus | |
on this historical behavior; so we're stuck in this stupid situation. No cookie for me. | |||
2011-07-08 | Move fabs(3), frexp(3), and modf(3) to libm--nothing has been using | Martynas Venckus | |
them in libc for a very long time. OK guenther@. | |||
2009-04-21 | remove from gen so that lint doesn't check gen if assembly versions | Martynas Venckus | |
are available. spotted by theo | |||
2009-04-19 | - ldexp implementation has issues. switch to the one from libm | Martynas Venckus | |
- remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@ | |||
2008-12-09 | these were not needed | Martynas Venckus | |
2008-12-09 | ditto frexpl and ldexpl | Martynas Venckus | |
2008-12-09 | - add long double signbit | Martynas Venckus | |
- 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@ | |||
2008-09-07 | - replace dtoa w/ David's gdtoa, version 2008-03-15 | Martynas Venckus | |
- 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 | |||
2008-07-24 | - move isinf, isnan dups to gen, since most is ieee 754 | Martynas Venckus | |
- 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 | |||
2005-11-29 | if we pull in a .S file, we must fake out the lint with a .c file | Theo de Raadt | |
for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS | |||
2005-08-07 | zap rcsid. | Marc Espie | |
okay deraadt@ (tested them all) | |||
2005-02-01 | Replace broken frexp() with a working one from FreeBSD. There's | Todd C. Miller | |
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@ | |||
2004-07-13 | Sync with NetBSD, picking up fixes to correctly reset status bits returning | Mark Kettenis | |
the old status bits. ok deraadt@ | |||
2004-02-09 | do signal blocking before saving registers | Theo de Raadt | |
2004-02-08 | 16 byte align for performance, as on other architectures | Theo de Raadt | |
2004-02-08 | from freebsd, helps awk too: | Theo de Raadt | |
Fix fabs(). This commit brought to you by the letter 'l'. (fstp stores a mem32 value, fstpl stores a mem64 value) | |||
2004-02-08 | from freebsd (and appears to make our awk work better) | Theo de Raadt | |
Tidy up modf.S and make it actually work. It wasn't extracting the value out of ST(0) before copying it to %xmm0. Also remove bogus stack frame and work in the red zone. | |||
2004-01-28 | things for amd64; from art@ | Michael Shalayeff | |