summaryrefslogtreecommitdiff
path: root/lib/libm
AgeCommit message (Collapse)Author
2008-06-12some cleanup for noieee_src, as asked by millert@: remove fictionalMartynas Venckus
includes, include math.h where needed and remove redundant declarations ok millert@
2008-06-12shut up lint; pointed out by theoMartynas Venckus
ok millert@
2008-06-12add isinff and isnanf. no objection millert@Martynas Venckus
2008-06-12use ALTENTRY; was ok millert@Martynas Venckus
2008-06-12- no need for ifdef dance (21), we have isnan, finite for vaxMartynas Venckus
- TEST_FMOD doesn't belong here, remove - remove ifdef _ANSI_SOURCE and assume it's default 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-11close brackets; ok jmc@Martynas Venckus
2008-06-11add C99 round(), based on ieee_src, for noieee_src. tested on VAXMartynas Venckus
ok millert@
2008-06-10vax doesn't have inf/nan, finite always returns 1Martynas Venckus
"go for it!" millert@, ok jmc@
2008-05-21Use proper *ENTRY macros with symbolic register save masks, sprinkleMiod Vallat
_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 `__'.
2007-06-01amd64 version of __signbit() (pedro sized quad floats... really just IEEEJason Wright
extended padded to 16 bytes)
2007-06-01add __signbitl() for 68881 (not used yet)Jason Wright
2007-06-01add __signbitl for i387 (not used yet)Jason Wright
2007-06-01add little endian and big endian shapes for extended and quad floatJason Wright
2007-05-31add __signbit/__signbitf/__signbitl; nothing uses this file, it's justJason Wright
for completeness.
2007-05-31add __signbit/__signbitf/__signbitl (all the same) for vax (not used yet,Jason Wright
but coming soon to a <math.h> near you).
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-20netbsd: stack sanity, leave the return PC aloneMartynas Venckus
ok kettenis@
2007-02-06various cleanup:Jason McIntyre
- escapes for < and > - fix some dodgy .Bd - add a little vertical space
2006-09-25Include s_llrint.c instead of ithe now removed llrint.c.Mark Kettenis
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-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.