summaryrefslogtreecommitdiffstats
path: root/lib/libm/arch/hppa (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce libm's exports and make internal calls go direct.guenther2016-09-1213-25/+40
| | | | | | All dependencies on libc are now via reserved/standardized names. ok kettenis@ millert@ deraadt@
* Missing $OpenBSD$'s.krw2015-01-2012-0/+12
| | | | ok deraadt@
* It's been a quarter century: we can assume volatile is present with that name.guenther2014-04-1815-60/+60
|
* Switch libc and libm to use strong aliases rather than weak aliasesmartynas2013-03-287-7/+7
| | | | | | | | | | | 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@.
* Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB,martynas2013-01-132-14/+0
| | | | and a few empty files for lint to chew on.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-054-6/+1
| | | | ok guenther millert kettenis
* Aliases for extended precision were missed on a few functions on hppa.martynas2012-08-235-1/+12
| | | | Reported by Brad, thanks!
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-081-17/+0
| | | | | 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 usingmartynas2011-07-081-0/+17
| | | | them in libc for a very long time. OK guenther@.
* Trick lint into recording the right prototypes in the llib-lm.lnmartynas2011-05-302-8/+14
| | | | | | | database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
* fenv improvements and cleanupsmartynas2011-04-281-59/+76
|
* fenv for hppamartynas2011-04-211-0/+355
|
* Tweak inline asm to prevent gcc4 from optimizing away crucial bits of it.kettenis2010-05-058-24/+24
| | | | ok miod@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-2714-56/+0
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* round, roundf, trunc, truncf for hppa; ok kettenis@martynas2009-07-154-0/+108
|
* floor(3) should round towards -inf instead of towards zero.kettenis2009-06-302-6/+4
| | | | ok martynas@, deraadt@
* use sys/cdefs.h; pointed out by theomartynas2008-12-102-4/+4
|
* - 80-bit and quad precision trigonometric and other mostmartynas2008-12-092-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-074-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* evil pastomickey2004-05-221-2/+2
|
* these are supposed to round towards zero; found by millert@ while testing perl 5.8.1mickey2003-10-312-4/+4
|
* fpr0 is recommended to be operated in full 64bits, although seemed to work otherwise, fix itmickey2003-01-164-24/+28
|
* these are not libm private and fix the rintf pasting errormickey2002-09-116-13/+13
|
* add reminder and roundingsmickey2002-05-228-0/+172
|
* md sqrt() implementationmickey2002-05-222-0/+32