summaryrefslogtreecommitdiffstats
path: root/lib/libm/arch/vax (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more pieces of vaxderaadt2016-03-109-1846/+0
|
* scalbnf on vax, okay miod@espie2013-08-061-1/+8
|
* Fix atan2f() and hypotf() by actually converting both their arguments to themiod2013-07-152-4/+6
| | | | larger type and passing them both the the double routine.
* add some missing asm functions to vax: long double as aliases to double,espie2013-07-156-10/+51
| | | | | | | | | and float functions by cvtfd/cvtdf (like in netbsd) scalbnf will have to wait, as it's more complicated... brings vax in line with the rest. okay miod@/martynas@
* VAX ELF userland bits. Consists mostly of register prefix additions.miod2013-07-059-490/+490
|
* Switch libc and libm to use strong aliases rather than weak aliasesmartynas2013-03-285-13/+13
| | | | | | | | | | | 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@.
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-082-95/+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-082-0/+95
| | | | them in libc for a very long time. OK guenther@.
* spacemartynas2008-12-125-13/+13
|
* alias fabsl to fabs on these archsmartynas2008-12-095-29/+13
|
* - 80-bit and quad precision trigonometric and other mostmartynas2008-12-095-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* float math functions: copysignf and logbf. ok millert@martynas2008-11-201-1/+35
|
* - noieee_src: adapt complex versions of the functions it alreadymartynas2008-10-071-3/+2
| | | | | supports (which is all, except the float ones) ok millert@
* remove d_cbrt, dcbrt, d_sqrt. ok millert@martynas2008-09-162-16/+7
|
* remove z_abs. ok millert@martynas2008-09-131-9/+1
|
* - remove isinff, isnanf. this has been moved to libcmartynas2008-07-241-34/+1
| | | | | | | | | | | - remove never-enabled signbit. libc has is now - add C99 implementations, from freebsd, for nan(), nanf() (needed to write _digittoint for it), exp2(), exp2f(), remquo(), remquof(), needed STRICT_ASSIGN macro for math_private.h - bump major man pages will follow exp2{,f} has been requested by chl@ ok millert@
* cleaning up, no functional changesmartynas2008-06-214-24/+24
| | | | | | | - no support for National 32000, removing ns32000/national ifdefs maze - remove tahoe defs - ansify looks fine to millert@; who also noticed rint removal
* add isinff and isnanf. no objection millert@martynas2008-06-121-1/+21
|
* use ALTENTRY; was ok millert@martynas2008-06-121-4/+2
|
* drem{,f} are aliases for remainder{,f}, so:martynas2008-06-111-4/+7
| | | | | | | | | | - document and mlink drem{,f} - drem->remainder on noieee, and make drem an alias - finite returns integer, n_support.c - general n_support.c ansification and cleanup - drem is now an ALTENTRY for remainder, in n_support.S help with man page from jmc@ and millert@ ok millert@
* Use proper *ENTRY macros with symbolic register save masks, sprinklemiod2008-05-219-140/+94
| | | | | | | | | | _C_LABEL and _ASM_LABEL, and add $OpenBSD$ RCS Ids. Include <sys/errno.h> and use its values directly, instead of using .set directives (which grow the individual .o files even) Also, replace `$' in internal (but non static) symbols with `_', and prefix those with `__'.
* add __signbit/__signbitf/__signbitl (all the same) for vax (not used yet,jason2007-05-311-0/+19
| | | | but coming soon to a <math.h> near you).
* avoid ' which confuses make dependderaadt2005-11-231-1/+1
|
* Historically, scalb() in 4BSD had the actual semantics of scalbn(). We changedmillert2003-11-011-5/+4
| | | | | | | | | | 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@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-029-45/+9
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* scalb() in vax libm is in fact scalbn(), so change the symbol name.miod2002-10-111-4/+4
| | | | | | 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...
* initial import of NetBSD treederaadt1995-10-189-0/+1862