summaryrefslogtreecommitdiffstats
path: root/lib/libm (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* use ALTENTRY; was ok millert@martynas2008-06-121-4/+2
|
* - no need for ifdef dance (21), we have isnan, finite for vaxmartynas2008-06-1214-131/+48
| | | | | | - TEST_FMOD doesn't belong here, remove - remove ifdef _ANSI_SOURCE and assume it's default ok millert@
* Makefile: fix MLINKSjmc2008-06-122-22/+22
| | | | lgamma.3: fix STANDARDS and HISTORY
* - on non-ieee, rename gamma to tgamma, the 'true' gammamartynas2008-06-1111-112/+1082
| | | | | | | | | | | | | | | | - 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@
* drem{,f} are aliases for remainder{,f}, so:martynas2008-06-114-86/+106
| | | | | | | | | | - 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@
* close brackets; ok jmc@martynas2008-06-111-3/+3
|
* add C99 round(), based on ieee_src, for noieee_src. tested on VAXmartynas2008-06-112-2/+50
| | | | ok millert@
* vax doesn't have inf/nan, finite always returns 1martynas2008-06-101-2/+9
| | | | "go for it!" millert@, ok jmc@
* Use proper *ENTRY macros with symbolic register save masks, sprinklemiod2008-05-219-140/+94
| | | | | | | | | | _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 `__'.
* amd64 version of __signbit() (pedro sized quad floats... really just IEEEjason2007-06-011-0/+19
| | | | extended padded to 16 bytes)
* add __signbitl() for 68881 (not used yet)jason2007-06-011-0/+19
|
* add __signbitl for i387 (not used yet)jason2007-06-011-0/+19
|
* add little endian and big endian shapes for extended and quad floatjason2007-06-011-1/+43
|
* add __signbit/__signbitf/__signbitl; nothing uses this file, it's justjason2007-05-311-0/+24
| | | | for completeness.
* add __signbit/__signbitf/__signbitl (all the same) for vax (not used yet,jason2007-05-311-0/+19
| | | | but coming soon to a <math.h> near you).
* convert to new .Dd format;jmc2007-05-3132-64/+64
|
* netbsd: stack sanity, leave the return PC alonemartynas2007-04-201-3/+3
| | | | ok kettenis@
* various cleanup:jmc2007-02-061-15/+18
| | | | | | - escapes for < and > - fix some dodgy .Bd - add a little vertical space
* Include s_llrint.c instead of ithe now removed llrint.c.kettenis2006-09-251-2/+2
|
* Move llrint.c, llrintf.c, lrint.c and lrintf.c to s_llrint.c, s_llrintf.c,kettenis2006-09-259-11/+150
| | | | | | s_lrint.c and s_lrintf.c, and add i387-specific assembler versions. ok deraadt@, otto@
* add some more C99 functions: round(3) and roundf(3).brad2006-07-126-9/+180
| | | | | By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu> From FreeBSD
* delint; ok millert@ beck@otto2006-05-053-5/+3
|
* Avoid shadowing of external symbols by local variables; whoeverotto2006-04-2513-95/+95
| | | | | thought up the names of the bessel functions deserves a beating. ok deraadt@
* lint prefers ANSI C function definitions if a prototype is available;otto2006-04-241-2/+1
| | | | i can only agree
* small delint; ok deraadt@otto2006-04-245-5/+4
|
* New amd64 exp(3).kettenis2006-03-192-2/+103
| | | | tested by steven@, ok otto@
* Remove amd64 code.kettenis2006-03-181-31/+1
| | | | ok otto@
* add some more C99 functions: trunc(3) and truncf(3).brad2006-03-185-4/+200
| | | | | | From FreeBSD ok deraadt@ millert@ otto@ jmc@
* amd64 asm code is not correct for exp(+/-Inf), so until somebodyotto2006-03-142-131/+2
| | | | | comes up with a correct asm version, use the C version of exp(3). ok steven@ kettenis@
* improvements from alexey dobriyan;jmc2006-03-051-4/+9
| | | | ok miod kettenis
* use WANTLINT= (on all architectures)deraadt2005-11-241-1/+2
|
* more empty files for lint to chew on (on the vax)deraadt2005-11-244-0/+4
|
* an empty stub file for lint: on the vax, lint will chew on this, but avoid itderaadt2005-11-231-0/+1
| | | | | when compiling, and use the .S file instead if someone has a better solution, show it..
* avoid ' which confuses make dependderaadt2005-11-231-1/+1
|
* Work around a gcc optimization problem. Spotted by biorn@; fixotto2005-11-171-3/+5
| | | | inspired by FreeBSD. ok biorn@ millert@ deraadt@
* Introduce a few c99 functions: {l,ll}{rint,round}{,f}. From NetBSD viaotto2005-11-1712-5/+625
| | | | jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@
* Fix exp(3) for arg Inf and -Inf. From NetBSD; PR 4578. ok deraadt@otto2005-11-151-13/+105
|
* Add missing $OpenBSD$ tags.espie2005-08-02107-286/+107
| | | | | | Zap wasteful RCSID("$NetBSD$") okay deraadt@
* Improve the accuracy of log1p function on i387 for small values of x.canacar2005-03-071-9/+56
| | | | From NetBSD, ok miod@
* pull in r1.8 from NetBSD, drochner: "amd64: stack sanity, leave thedhartmei2005-03-011-2/+2
| | | | return PC alone", via hugh@
* Fix a typo and get good results in the process, fixes PR 3830 and passesmiod2004-07-221-1/+1
| | | | Perl's regression test; ok art@
* errno changes, lib major version bumps, and general flag daymarc2004-07-131-1/+1
| | | | | | | 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
* evil pastomickey2004-05-221-2/+2
|
* remove optimization workaround for sparc64 now that we're using gcc3.brad2004-04-061-2/+2
| | | | ok deraadt@
* we now use the cvs repository copied amd64 setderaadt2004-02-2842-1322/+0
|
* reach into new amd64 directoryderaadt2004-02-281-3/+3
|
* change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt2004-02-271-2/+2
| | | | | | 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.
* add libm parts for amd64; much from netbsd, integration by mickey.deraadt2004-02-0885-1/+2655
| | | | | | 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
* `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))jmc2004-01-231-4/+4
| | | | discussed with todd@
* use .Sq rather than .Dq, which, for some reason, is making -mdoc wobble;jmc2004-01-021-2/+2
|