summaryrefslogtreecommitdiff
path: root/lib/libm/arch
AgeCommit message (Collapse)Author
2007-06-01amd64 version of __signbit() (pedro sized quad floats... really just IEEEJason Wright
extended padded to 16 bytes)
2007-06-01add __signbitl() for 68881 (not used yet)Jason Wright
2007-06-01add __signbitl for i387 (not used yet)Jason Wright
2007-05-31add __signbit/__signbitf/__signbitl (all the same) for vax (not used yet,Jason Wright
but coming soon to a <math.h> near you).
2007-04-20netbsd: stack sanity, leave the return PC aloneMartynas Venckus
ok kettenis@
2006-09-25Move llrint.c, llrintf.c, lrint.c and lrintf.c to s_llrint.c, s_llrintf.c,Mark Kettenis
s_lrint.c and s_lrintf.c, and add i387-specific assembler versions. ok deraadt@, otto@
2006-03-19New amd64 exp(3).Mark Kettenis
tested by steven@, ok otto@
2006-03-18Remove amd64 code.Mark Kettenis
ok otto@
2006-03-14amd64 asm code is not correct for exp(+/-Inf), so until somebodyOtto Moerbeek
comes up with a correct asm version, use the C version of exp(3). ok steven@ kettenis@
2005-11-23avoid ' which confuses make dependTheo de Raadt
2005-11-15Fix exp(3) for arg Inf and -Inf. From NetBSD; PR 4578. ok deraadt@Otto Moerbeek
2005-08-02Add missing $OpenBSD$ tags.Marc Espie
Zap wasteful RCSID("$NetBSD$") okay deraadt@
2005-03-07Improve the accuracy of log1p function on i387 for small values of x.Can Erkin Acar
From NetBSD, ok miod@
2005-03-01pull in r1.8 from NetBSD, drochner: "amd64: stack sanity, leave theDaniel Hartmeier
return PC alone", via hugh@
2004-07-22Fix a typo and get good results in the process, fixes PR 3830 and passesMiod Vallat
Perl's regression test; ok art@
2004-05-22evil pastoMichael Shalayeff
2004-02-28we now use the cvs repository copied amd64 setTheo de Raadt
2004-02-08add libm parts for amd64; much from netbsd, integration by mickey.Theo de Raadt
Instead of mixing the i387 & xmm register components, we decide to explicitly seperate them. libm is already confusing enough as it is, thank you very much
2003-11-01Historically, scalb() in 4BSD had the actual semantics of scalbn(). We changedTodd C. Miller
scalb() to scalbn() some time ago in the tree to fix this. However, it turns out the vax scalb() had already been fixed to support standard scalb() semantics. This commit undoes that change, making the vax scalbn() the same as the 4BSD scalb() (but with the correct name) and fixes the comment. We still could use wrappers for scalb(), scalbf() and scalbnf(). Fixes exp() and a number of perl tests; OK hugh@
2003-10-31these are supposed to round towards zero; found by millert@ while testing ↵Michael Shalayeff
perl 5.8.1
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-17picky assembler warning cleanupsDale Rahn
2003-01-16fpr0 is recommended to be operated in full 64bits, although seemed to work ↵Michael Shalayeff
otherwise, fix it
2002-10-11scalb() in vax libm is in fact scalbn(), so change the symbol name.Miod Vallat
Only affects vax, which has no shared libraries, so no version change needed for libm. Someone with enough math skills ought to code a real scalb() on a rainy day...
2002-09-11these are not libm private and fix the rintf pasting errorMichael Shalayeff
2002-05-22add reminder and roundingsMichael Shalayeff
2002-05-22md sqrt() implementationMichael Shalayeff
2002-01-30Add native implementations of copysign() and copysignf() on alpha.Christian Weisgerber
From NetBSD; ok millert@
2000-06-062nd patch for stack mishandling; wd@ics.nara-wu.ac.jpTheo de Raadt
1998-04-25scalb*() left an extra item on the x86 FPreg stack on return; gwes@oat.comTheo de Raadt
1996-07-27fix from bde; Clean up the FP stack before returning. The i387 exp()Theo de Raadt
leaked an FP register on its first call. Subsequent calls reused the register so the leak didn't accumulate. + some netbsd improvements after that.
1996-06-10Use setne instead of setnel, new versions of gas balk at the bad mnemonic.Theo de Raadt
Wrong mask was used in s_finitef.S.
1995-12-14from netbsd:Theo de Raadt
Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to call __ieee754_lgamma_r or __ieee754_lgammaf_r. Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c, e_lgamma_f.c.
1995-10-28update from NetBSDTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt