nakayama
88e42b609b
Add fenv support for sparc. Mostly copied from sparc64 and share with it.
2011-05-20 21:42:48 +00:00
jruoho
881e57fce3
Remove trailing '\'.
2011-05-10 09:07:51 +00:00
jruoho
31061e207a
Split out the ilogb(3) family out of ieee(3) and properly document it.
2011-05-10 06:38:33 +00:00
drochner
1e1bb256ba
according to C99/POSIX, nextafter(x,y) should return y if x==y, from
...
Henning Petersen per PR lib/44875
2011-04-18 15:59:09 +00:00
christos
5b8e5cb4eb
Fix markup
2011-04-16 23:58:01 +00:00
jruoho
e77640da5b
Merge floor(3) to ceil(3).
2011-04-16 05:48:50 +00:00
jruoho
9d56ec39d7
Split out from ieee(3) also the remainder(3) and copysign(3) families.
2011-04-13 04:57:10 +00:00
jruoho
9305ee0c33
Split the nextafter(3) family of functions to their own page and properly
...
document these.
2011-04-12 07:29:50 +00:00
drochner
997b81175f
let log(<0) return NaN rather than -inf in POSIX/XOPEN modes, as
...
requested in PR lib/41931 by Havard Eidnes (the PR refers to POSIX,
the OSF/1 manpage suggests that XOPEN should behave that way too)
being here, do the same to log10 and log2
2011-04-11 15:17:33 +00:00
joerg
5349df0309
Add missing MLINKS. From Stathis Kamperis.
2011-03-18 00:57:19 +00:00
christos
cf7b1c6bb2
PR/44663: Corinna Vinschen: Fix misplaced parenthesis that produces the wrong
...
result.
2011-03-02 13:24:43 +00:00
christos
6f4121938f
Add the actual function files. From FreeBSD via Stathis Kamperis
2011-02-06 01:53:38 +00:00
christos
e60f59b973
remquo{,f} from FreeBSD via Stathis Kamperis
2011-02-06 00:44:08 +00:00
christos
ae8a4fc798
not everyone has fenv.c, pointed by Havard Eidnes
2011-01-31 15:06:01 +00:00
christos
17b8402a39
fenv support for sparc64 from Stathis Kamperis
2011-01-31 00:19:33 +00:00
joerg
0e4ac962b5
Remove NOMANDOC, the documents are at least parsed somewhat sensible.
2011-01-12 23:03:55 +00:00
jakllsch
cfb57741fb
Imlementations of fmax, fmaxf, fmin and fminf libm functions for VAX.
2011-01-09 02:32:13 +00:00
njoly
53ac8d2f21
Fix typo in cross-refernce.
2010-12-17 23:57:07 +00:00
abs
eb439bf1a7
Add noieee versions for lround(), lroundf(), lrint(), lrintf(),
...
llrint() and llrintf(). Code copied from round(), roundf() and
rint() and modified for return values. Its possible this may not
do the right things in edge cases, but if so its likely to have
the same issues as the existing round(), roundf() and rint().
All this used by vax (only), and should allow xnest to complete
build.
2010-12-09 22:52:59 +00:00
drochner
240e9917d0
fix accuracy problems in argument ranges where j0(x) is small, closes
...
PR lib/44170 by Henning Petersen
(originally from Steven G. Kargl per FreeBSD PR bin/144306)
2010-11-29 15:10:06 +00:00
christos
fda2d7ca9f
deal with infinity on the vax.
2010-09-20 17:51:38 +00:00
christos
c80a34bc23
no more ieee ifdefs
2010-09-20 16:55:20 +00:00
christos
0a9ef41cbe
get rid of ieee dependencies.
2010-09-20 16:53:30 +00:00
christos
852d033d43
shouldn't need ieee.h here.
2010-09-20 15:38:48 +00:00
christos
92da7545e1
don't compile long double support for the havenots.
2010-09-17 20:39:39 +00:00
drochner
de41a05aef
fix an obvious botch which made eg conjl(3) a no-op
2010-09-16 20:39:50 +00:00
wiz
0d8d67869e
Remove trailing whitespace.
2010-09-15 18:40:27 +00:00
christos
98b923b685
commit long double SoC code from Stathis Kamperis
2010-09-15 16:12:05 +00:00
christos
e2a86dd3c7
Commit SoC long double support from Stathis Kamperis
2010-09-15 16:11:28 +00:00
drochner
1a2acb81f4
EDOM should not be set on atan2(0,0) in POSIX mode, found by
...
Stathis Kamperis' testsuite
2010-09-01 10:44:28 +00:00
drochner
2dcdd0a999
two disgusting hacks:
...
-mk/bsd.lib.mk picks up a .S asm file behind our back (did it do so
always?). s_modf.S is incorrect; I'm undecided whether it makes sense
to fix it, so add a stupid rule to enforce the .c file to be used.
-on i386, s_tanh.c gets miscompiled. It works with -O0, so add
COPTS for exactly that file.
2010-08-10 17:53:08 +00:00
wiz
ab7858d6ea
Remove reference to fpresetsticky(3), which doesn't exist.
...
From Stathis Kamperis.
2010-08-07 18:13:12 +00:00
wiz
16b537c3d2
Fix typo in MLINKS, from Stathis Kamperis. Adapt set lists, and run
...
them through sort while there.
2010-08-07 18:12:45 +00:00
wiz
33c5cb75ad
Remove trailing comma in enumeration, make HTML-ready.
2010-08-04 18:58:28 +00:00
wiz
3b43a9401a
Remove trailing comma in enumeration.
2010-08-04 18:58:18 +00:00
taca
5dad8344cc
Fix compile error.
2010-08-01 06:34:38 +00:00
joerg
c271d4f25f
Fix merge error: drop machine from an older workaround for machine.sse
...
under compat32, drop the assertion, initialize oldlen.
2010-07-31 22:14:18 +00:00
joerg
7f1183f226
Add support for fenv.h interface for i386 and amd64.
...
Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.
2010-07-31 21:47:52 +00:00
joerg
9741664022
\\* -> \*
2010-05-14 03:10:24 +00:00
jruoho
f08e16091d
Note that rest of the functions come from C99.
2010-05-03 05:35:58 +00:00
joerg
79b996cbc6
Don't mix opening and closing macros of different types.
2010-04-29 08:35:03 +00:00
drochner
d4def06880
-build ldexp/frexp/modf locally again rather than relying on libc
...
reaching over, to get things into a sane state,
-do the usual namespace protection game with scalbn(f) because it
is used internally
(more symbol renamings are necessary)
The weak_alias change for mc68881 is untested.
2010-04-23 19:17:07 +00:00
joerg
ffec7f50c0
Fix escape sequences
2010-04-05 21:33:25 +00:00
mrg
d5a3d97bc4
build s_frexp.c, s_ldexp.c and s_modf.c here for new platforms, since they
...
don't exist as compat functions in libc.
current list of new platforms: powerpc64.
from dennis.c.ferguson@gmail.com in PR#43042. idea to not put compat
functions into new platforms from drochner@netbsd.
2010-03-29 06:59:42 +00:00
snj
d4a6f9b098
These functions are going to first appear in 5.1, not 6.0.
2010-03-08 02:35:50 +00:00
snj
b513aa9a56
Fix broken RCSID.
2010-03-08 01:05:20 +00:00
drochner
b1a1fc216d
fix return values for atan2(+-0,+-0) in the POSIX case
2010-01-27 20:23:53 +00:00
drochner
f12889bbfb
fix return value in case of NaN input
...
(the code also shortcuts the +-inf case, but this was OK before -- it
only avoids an extra check of the mantissa)
2010-01-27 14:07:41 +00:00
drochner
e712404ece
let the previous fix apply to acos rather than atan2,
...
and get rid of #ifdef vax
2010-01-20 16:49:42 +00:00
tnozaki
1166d8dc53
PR/42630 asin(2.0) and acos(2.0) doesn't return NaN.
...
reported by NARUSE, Yui -san, Thanks!
2010-01-20 16:31:35 +00:00