summaryrefslogtreecommitdiff
path: root/lib/libm/Makefile
AgeCommit message (Collapse)Author
2013-08-07simple inaccurate implementation of lrint* functions on vax, just soMarc Espie
we have them. Compiles on vax. okay martynas@
2013-07-15use some generic code on vax, to do round/roundf/scalbln...Marc Espie
suggested by martynas@ okay miod@ (just rearranges the !vax makefile, no compile change there)
2013-07-03reorganize NOIEEE_SRCS so that files not compiled on vax becauseMarc Espie
of assembly version are obvious. Move cproj/cprojf to the PURE club, as the asm support code provides copysignf okay martynas@
2013-07-03with DBL vs LDBL fixed, tedu some source in noieee which is actually theMarc Espie
same as code in generic src. introduce PURE_SRCS for completely MI math code. okau martynas@
2012-09-15m88k does not have the m68k long double type actually (long double == doubleMiod Vallat
on this platform), so don't pretend it does, and don't build long double libm routines.
2012-09-04remove lint leftovers; ok guenther@Okan Demirmen
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2011-09-22install infnan(3/VAX) into man3/vax/ on all archs;Ingo Schwarze
clean make build tested on i386; ok deraadt@, no objections from martynas@
2011-08-19Bring libc and libm in line with the compiler now that we no longer have aMark Kettenis
128-bit long double. Diff committed on behalf of martynas@
2011-07-24Document fma, fmaf, fmal, nexttoward, nexttowardf, nexttowardl.Martynas Venckus
2011-07-20Document complex math library.Martynas Venckus
2011-07-11Remove the GCC2 optimizer workaround for sparc. After switchingMartynas Venckus
to GCC4 it doesn't generate broken code anymore. From Brad. Tested and verified by myself.
2011-07-09- Fix the cabs, and cabsf prototypes in the manual pages; it'sMartynas Venckus
been C99 complex (not struct complex) for couple of years. - Remove BUGS section; cabs is finally prototyped in complex.h. - Also document cabsl.
2011-07-09Don't reimplement the same thing twice. OK matthew@.Martynas Venckus
2011-07-08Move fabs(3) manual page from libm to libc, for consistency. TheMartynas Venckus
modf(3), frexp(3), ldexp(3), fpclassify(3) pages are in libc, too.
2011-07-08Remove the stupid commented out fabs(3), frexp(3), and modf(3)Martynas Venckus
entries and unused implementations. It is clear that this situation won't change.
2011-07-08Revert (leaving the complex math part alone). Some stuff is dependingMartynas Venckus
on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
2011-07-08Finalize work on complex math routines, now that we have theMartynas Venckus
extended-precision support. Mostly from Cephes.
2011-07-08Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingMartynas Venckus
them in libc for a very long time. OK guenther@.
2011-07-07Remove math(3). OK theo.Martynas Venckus
2011-07-07Document extended-precision routines.Martynas Venckus
2011-07-06Don't pull bsd.own.mk for NOPROFILE & NOPIC -- the libm_i387 thingMartynas Venckus
is gone since 1999.
2011-07-06Finalize work on the math library. It's time to do this monsterMartynas Venckus
commit, and deal with problems (if any) in tree. Note that this adds the following functions. Ports with hacks might need adjustments. nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3), atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3), log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3), powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3), floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3), truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3), nexttowardl(3), fmal(3). With this commit, our library implements all functionality required by C99. Documentation bits will follow.
2011-05-28Adapt m68k MD functions to extended-precision.Martynas Venckus
Go for it miod@.
2011-05-28Adapt m68k MD functions to single-precision.Martynas Venckus
Looked over by miod@.
2011-05-25Document nearbyint, nearbyintf, nearbyintl.Martynas Venckus
2011-05-25Document C99 floating-point environment.Martynas Venckus
2011-04-28fix build ok martynas@Todd T. Fries
2011-04-28- enable fenvMartynas Venckus
- add nearbyint, nearbyintf and nearbyintl implemented using fenv
2010-07-19Add barebones manual pages for cimag(3), conj(3) and cproj(3)Todd C. Miller
OK kettenis@ jmc@
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2009-11-06Provide assembly version of sqrtl(3).Mark Kettenis
ok pirofti@
2009-11-05Provide assembly version of sqrtl(3).Mark Kettenis
ok otto@
2009-10-26Add man pages for the fdim/fmin/fmax family of functions and make sure fdimlMark Kettenis
is defined on all architectures. ok jmc@ (man pages) and martynas@
2009-10-24document log2() and log2f(); from thomas pfaffJason McIntyre
ok otto millert martynas
2009-07-29ieee, and ieeef aren't real, and the amount of functions it documentsMartynas Venckus
is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@
2009-07-28document scalbln, scalblnf, scalblnlMartynas Venckus
2009-07-25int is big enough to fully represent exponents of all supported fpMartynas Venckus
formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the same as scalbn, scalbnf, scalbnl with bounds checking so that LONG_MIN..INT_MIN, and INT_MAX..LONG_MAX ranges properly raise exceptions & yield correct values. looks good to millert@
2009-07-15round, roundf, trunc, truncf for hppa; ok kettenis@Martynas Venckus
2009-04-19make ldexpf behavior consistent with the double and extended-precisionMartynas Venckus
versions; spotted by kettenis@ while here also remove unused ldexp; it lives in libc ok kettenis@, "looks good" millert@
2009-04-10lrint, llrint, lrintf, llrintf for amd64. ok kettenis@, oga@Martynas Venckus
2009-04-05implement and use sqrt, sqrtf & fabsf in hardware; since it'sMartynas Venckus
faster that way. tested by myself. discussed w/ & ok miod@, millert@
2009-03-28add C99-conformant nan, nanf, nanl for vax. always return zero,Martynas Venckus
since its fp does not have distinguished values for qnans. tested by naddy@; fixes libnova. ok theo
2008-12-12spaceMartynas Venckus
2008-12-12document and mlink long double functions. ok jmc@Martynas Venckus
2008-12-09pass CPPFLAGS+= -D__STDC__ for vax, to get the right definitionsMartynas Venckus
from asm.h. discussed w/ millert@
2008-12-09- 80-bit and quad precision trigonometric and other mostMartynas Venckus
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-10-07- noieee_src: adapt complex versions of the functions it alreadyMartynas Venckus
supports (which is all, except the float ones) ok millert@
2008-09-16gc unused files, the functions are in libc. ok millert@Martynas Venckus
2008-09-11since these got no ieee-specific code anymore, add fmin, fmax, fdim,Martynas Venckus
fminf, fmaxf, fdimf, fdiml for VAX. looks good to millert@