summaryrefslogtreecommitdiff
path: root/lib/libm/Makefile
AgeCommit message (Collapse)Author
2008-09-09sigh, gamma got lostMartynas Venckus
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- 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
2008-07-30various markup/grammar fixes for previous, and a missing MLINKJason McIntyre
for remquof.3;
2008-07-29- add man pages for nan and remainder, from freebsdMartynas Venckus
- mlink drem, dremf, remainderf to remainder; nanf to nan - describe that drem and dremf are obsolete aliases - remove descriptions for remainder and remainderf from ieee looked over by jmc@, but it's easier for him to work on when they are in tree
2008-07-29describe exp2, exp2f and mlink themMartynas Venckus
2008-07-29remove finite from ieee.3, and unmlink from makefileMartynas Venckus
2008-07-24- remove isinff, isnanf. this has been moved to libcMartynas Venckus
- 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@
2008-07-21NetBSD's C library supplies these functions -> OpenBSD's C libraryMartynas Venckus
supplies these functions. in comments
2008-07-21rename lround.c lroundf.c llround.c llroundf.c to s_lround.cMartynas Venckus
s_lroundf.c s_llround.c s_llroundf.c, for naming consistency looks fine to millert@
2008-07-16install infnan.3 only for vax. pointed out by millert@Martynas Venckus
ok millert@
2008-06-12Makefile: fix MLINKSJason McIntyre
lgamma.3: fix STANDARDS and HISTORY
2008-06-11- on non-ieee, rename gamma to tgamma, the 'true' gammaMartynas Venckus
- make gamma an alias of lgamma - on ieee, add tgamma, based on gamma from non-ieee - fixes for tgamma/lgamma/exp/log, esp. special cases (some from freebsd); properly raise invalid fp operations on vax - also some general cleanup, ansification, man page (which was ok jmc@) - bump minor this makes some ports using tgamma possible; also consistifies behavior across openbsd/ieee and openbsd/non-ieee, and other operating systems much thanks sthen@, johan@, steven@, Simon Kuhnle, Wiktor Izdebski for testing ok millert@
2008-06-11drem{,f} are aliases for remainder{,f}, so:Martynas Venckus
- 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@
2008-06-11add C99 round(), based on ieee_src, for noieee_src. tested on VAXMartynas Venckus
ok millert@
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-07-12add some more C99 functions: round(3) and roundf(3).Brad Smith
By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu> From FreeBSD
2006-03-19New amd64 exp(3).Mark Kettenis
tested by steven@, ok otto@
2006-03-18add some more C99 functions: trunc(3) and truncf(3).Brad Smith
From FreeBSD ok deraadt@ millert@ otto@ jmc@
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-24use WANTLINT= (on all architectures)Theo de Raadt
2005-11-17Introduce a few c99 functions: {l,ll}{rint,round}{,f}. From NetBSD viaOtto Moerbeek
jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@
2004-04-06remove optimization workaround for sparc64 now that we're using gcc3.Brad Smith
ok deraadt@
2004-02-28reach into new amd64 directoryTheo de Raadt
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
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-02-27ieee_test isn't real, rename it to logb.3 and make everything link to that ↵Jason Wright
instead.
2003-01-03Get the m88k libm to say no to drugs.Miod Vallat
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@
2001-08-28The sparc workaround is needed for sparc64 too.Artur Grabowski
2001-06-26Correctly handle mvme88k settings here.Miod Vallat
2000-11-08put infnan in there, even though it is depricatedTheo de Raadt
1999-07-18I think that libm_i387 has lived too longTheo de Raadt
1999-07-01provide MLINKS for "f" versions, and make sure they show up in whatis.dbTheo de Raadt
1999-06-28Bye, bye work-around.Marc Espie
1999-06-03egcs generates broken code for -O2 on sparcTheo de Raadt
1999-05-26Work-around: a few files trigger Internal Compiler Errors if compiled withMarc Espie
-O2 on m68k.
1999-03-08pull in bsd.own.mk for NOPROFILE and NOPICTodd C. Miller
1999-03-07Never break the source tree builds if a _non-default compilation option_Theo de Raadt
has an issue. Fix it right, without breaking the source tree.
1999-03-07previous commit broke MLINKS installTheo de Raadt
1999-03-04move .include <bsd.lib.mk> up before NOPROFILE and NOPIC defines are used; ↵Todd C. Miller
evanc@concer.to
1998-11-16use _USE_WRITETheo de Raadt
1998-03-02protect internal "struct excpption" from conflicting one in gcc.Todd C. Miller
1997-09-01missing VAX manual for infnan(3), from 4.4 BSDMichael Shalayeff
1997-03-25Ok here is the mvme88k userland, minus a few important pieces.Dale S. Rahn
as, ld change need to be merged. It is known that shared libraries and C++ do not work. If anyone wants to step forward and take over the mvme88k port please do. It was dumped on me when the original developer, Nivas, left his previous job and started a new one. I am trying to get the port in a shape that someone could take over.
1996-11-14correct LINKS usageMichael Shalayeff
1996-10-27nopicJason Downs
1996-10-27NOPROFILE; from Mathieu.Herrb@mipnet.frTheo de Raadt
1996-10-25We do i387 by default now.Jason Downs