summaryrefslogtreecommitdiff
path: root/lib/libm
AgeCommit message (Collapse)Author
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-05-05delint; ok millert@ beck@Otto Moerbeek
2006-04-25Avoid shadowing of external symbols by local variables; whoeverOtto Moerbeek
thought up the names of the bessel functions deserves a beating. ok deraadt@
2006-04-24lint prefers ANSI C function definitions if a prototype is available;Otto Moerbeek
i can only agree
2006-04-24small delint; ok deraadt@Otto Moerbeek
2006-03-19New amd64 exp(3).Mark Kettenis
tested by steven@, ok otto@
2006-03-18Remove amd64 code.Mark Kettenis
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@
2006-03-05improvements from alexey dobriyan;Jason McIntyre
ok miod kettenis
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-11-24more empty files for lint to chew on (on the vax)Theo de Raadt
2005-11-23an empty stub file for lint: on the vax, lint will chew on this, but avoid itTheo de Raadt
when compiling, and use the .S file instead if someone has a better solution, show it..
2005-11-23avoid ' which confuses make dependTheo de Raadt
2005-11-17Work around a gcc optimization problem. Spotted by biorn@; fixOtto Moerbeek
inspired by FreeBSD. ok biorn@ millert@ deraadt@
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@
2005-11-15Fix exp(3) for arg Inf and -Inf. From NetBSD; PR 4578. ok deraadt@Otto Moerbeek
2005-08-02Add missing $OpenBSD$ tags.Marc Espie
Zap wasteful RCSID("$NetBSD$") okay deraadt@
2005-03-07Improve the accuracy of log1p function on i387 for small values of x.Can Erkin Acar
From NetBSD, ok miod@
2005-03-01pull in r1.8 from NetBSD, drochner: "amd64: stack sanity, leave theDaniel Hartmeier
return PC alone", via hugh@
2004-07-22Fix a typo and get good results in the process, fixes PR 3830 and passesMiod Vallat
Perl's regression test; ok art@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-05-22evil pastoMichael Shalayeff
2004-04-06remove optimization workaround for sparc64 now that we're using gcc3.Brad Smith
ok deraadt@
2004-02-28we now use the cvs repository copied amd64 setTheo de Raadt
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
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2004-01-02use .Sq rather than .Dq, which, for some reason, is making -mdoc wobble;Jason McIntyre
2003-11-01Historically, scalb() in 4BSD had the actual semantics of scalbn(). We changedTodd C. Miller
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@
2003-10-31these are supposed to round towards zero; found by millert@ while testing ↵Michael Shalayeff
perl 5.8.1
2003-10-21hypot: uppercase Euclidean; new sentence new lineJason McIntyre
math: constrast -> contrast from Jared Yanovich
2003-06-26ansiTheo de Raadt
2003-06-26cabsf takes complex float not doubleJason Wright
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02section reorder;Jason McIntyre
2003-05-20- typosJason McIntyre
- new sentence, new line
2003-05-08ERROR -> ERRORS in .Sh, as per mdoc template.Jason McIntyre
2003-05-05add properties of single precision IEE754Jason Wright
2003-05-03these files all had >9 arguments to .Nd, causing the name description to beJason McIntyre
truncated. i wrapped them in double quotes to preserve the line. grep inspired by an -mdoc lesson from millert@
2003-04-30removed unused .Bd macro;Jason McIntyre
ok jason@
2003-04-17picky assembler warning cleanupsDale Rahn
2003-03-28Bessel functions;Jason McIntyre
also little cleanup in math(3); whitespace and new lines; ok jason@
2003-03-06.Xr typos;Jason McIntyre
ok deraadt@
2003-03-01Use mdoc strings for !=, +-, >= and <=Todd C. Miller
2003-02-28.Xr the right pagesJason Wright
2003-02-28No need to waffle this much... s/roughly like/roughlyJason Wright
2003-02-28mention single precision versionsJason Wright
2003-02-28Convert to mdoc and make some very minor updates. Someone with libm cluesTodd C. Miller
could do a lot of good here.