summaryrefslogtreecommitdiffstats
path: root/lib/libm/arch/alpha
AgeCommit message (Collapse)AuthorFilesLines
2016-09-12Reduce libm's exports and make internal calls go direct.guenther1-1/+18
All dependencies on libc are now via reserved/standardized names. ok kettenis@ millert@ deraadt@
2014-04-18It's been a quarter century: we can assume volatile is present with that name.guenther1-19/+19
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesmartynas1-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@.
2011-07-08Revert (leaving the complex math part alone). Some stuff is dependingmartynas1-37/+0
on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
2011-07-08Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas1-0/+37
them in libc for a very long time. OK guenther@.
2011-04-28fenv improvements and cleanupsmartynas1-11/+8
2011-04-23Implement C99 floating-point environment for Alpha.martynas1-0/+362
Delivering FPE with non-masked exceptions doesn't work on Alpha; I suspect there's a bug in the kernel trap handler. FE_INEXACT is intentionally left out of FE_ALL_EXCEPT; since the inexact exception is not being maintained. Otherwise it will lead to the bogus results.
2008-12-09alias fabsl to fabs on these archsmartynas1-4/+2
2008-12-09- 80-bit and quad precision trigonometric and other mostmartynas1-1/+4
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@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray2-16/+2
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@
2002-01-30Add native implementations of copysign() and copysignf() on alpha.naddy2-0/+90
From NetBSD; ok millert@