summaryrefslogtreecommitdiff
path: root/lib/libm
AgeCommit message (Collapse)Author
2003-12-03Add a list of pre-defined values (such as pi, e etc.).jschauma
Ok by wiz@.
2003-11-02Uppercase name; from Jared Yanovich via jmc@openbsd.wiz
2003-10-26Use ${HOST_SH} instead of `sh'.lukem
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-09-16Avoid the PIC dance.wennmach
2003-09-14Make log1p and log1pf work in shared libraries again.fvdl
2003-09-10Reimplement s_log1p.S and s_log1pf.S to use the fyl2xp1 instructionwennmach
where necessary. The log1p() function is provided to compute an accurate value of log(1 + x), even for tiny values of x. The i387 FPU provides the fyl2xp1 instruction for this purpose. However, since the range of the fyl2xp1 function is limited to -(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1 (-0.292893 <= x <= 0.414214) we need to check if the argument is in the valid range. In order to reduce the cost for testing the range, we only use fyl2xp1 if the argument is in the range -0.25 <= x <= 0.25 which can be checked with just one conditional branch. Fixes PR lib/22599 by Ray Brownrigg.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-07-26netbsd.org->NetBSD.orgsalo
2003-05-20Nit fixes from jmc@openbsd.wiz
2003-05-01Restore \fR that got lost in last.wiz
2003-05-01Remove reference to non-existent infnan(3) function.gmcgarry
2003-04-16Usewiz
.In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
2003-03-31bessel->Bessel, from Igor Sobrado in PR misc/19814perry
2003-03-31bessel->Bessel from Igor Sobrado PR misc/19814perry
2003-02-21Fix some assembly botches.matt
2003-01-04Spell output with two ts.wiz
2002-12-05Avoid a strict-alias warning.scw
2002-10-01New sentence, new line. From Robert Elz.wiz
2002-08-19Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of thelukem
Makefile (before including <bsd.own.mk>)
2002-08-19Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).lukem
(Reduces make output by ~ 20%)
2002-07-14Add sinf/cosf.matt
2002-06-23Add finitefmatt
2002-06-23Add cosf/sinf.matt
2002-06-15Remove unnecessary spaces.wiz
2002-06-15Compile libm on VAX at WARNS=2; leave other architectures at WARNS=1matt
2002-06-15Ansify libm noieeesrc (for VAX). Also make const data really const.matt
libm for VAX can compiles with WARNS=2
2002-05-26__STDC__ is always defined on NetBSD.wiz
2002-04-09#if 0 one; it's not used.thorpej
2002-04-09#if 0 invsqrtpi; it's not used.thorpej
2002-03-30Fix mistake in previous.fvdl
2002-03-26Fix stack usage for temporary storage. From Stephen Ma in PR xsrc/15404.fvdl
2002-02-27PR/15748: Ray Brownrigg: exp(log(0)) is broken.christos
Use FreeBSD's version. Handles inf/nan and rounding modes.
2002-02-24Change to use a register prefix.matt
2002-02-21Don't bsbb to an external symbol. the dynamic linker won't like it.matt
2002-02-20Sort SEE ALSO.wiz
2002-02-20Drop superfluous .Pp, punctuation nit.wiz
2002-02-20Sort sections.wiz
2002-02-20Use standard headers, sort sections.wiz
2002-02-20Punctuation nits, use standard headers, sort sections, remove Tahoe references.wiz
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2002-02-07generate & symbolicallyross
2002-02-07Generate <>& symbolically.ross
2002-01-27Drink ALL the Kool-Aid.ross
(Move -mieee from lib/ to bsd.*.mk; new var MKIEEEFP defaults to yes.)
2002-01-27On Alpha, build libc and libm with -mieee ... A metric craploadthorpej
of 3rd party software expects this. XXX TODO: consider libm-fast for alpha that is not -mieee. Possibly determine -mieee or not at run-time based on a bit in the executable headers.
2002-01-15Whitespace nit.wiz
2001-12-28* Add user-controlled mk.conf variableslukem
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR} is "yes". Defaults to "/usr/lib". - USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR} instead of ${LIBDIR}. Defaults to "no". Sets ${_LIBSODIR} to the appropriate value. This may be set by individual Makefiles as well. - SHLINKDIR Location of shared linker. Defaults to "/usr/libexec". If != "/usr/libexec", change the dynamic-linker encoded in shared programs * Set USE_SHLIBDIR for libraries used by /bin and /sbin: libc libcrypt libcrypto libedit libipsec libkvm libm libmi387 libtermcap libutil libz * If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so* to ${_LIBSODIR}/${LIB}.so* for compatibility. * Always install /sbin/init statically (for now) The net effect of these changes depends on how the variables are set: 1.) If nothing is set or changed, there is no change from the current behaviour: - Static /bin, /sbin, and bits of /usr/* - Dynamic rest - Shared linker is /usr/libexec/ld*so 2.) If the following make variables are set: LDSTATIC= SHLINKDIR=/lib SHLIBDIR=/lib Then the behaviour becomes: - Dynamic tools - .so libraries used by /bin and /sbin are installed to /lib, with symlinks from /usr/lib/lib*so to -> /lib/lib*so where appropriate - Shared linker is /lib/ld*so 3.) As per 2.), but add the following variable: USE_SHLIBDIR=yes This forces all .so's to be instaleld in /lib (with compat symlinks), not just those tagged by their Makefiles to be. Again, compat symlinks are installed
2001-12-12Readability cleanups; MKfoo=no -> NOfoo.tv
2001-12-04Replace some misuses of "then" with "than".wiz
2001-11-10- sort sectionsgmcgarry
- introduce commented-out FILES section until page is mdoc'ified.
2001-11-05explicitly set to WARNS?=1lukem