Commit Graph

682 Commits

Author SHA1 Message Date
gson
94608659ce Fix incorrect magic numbers in scaling. From FreeBSD commit 23397, by
way of Rin Okuyama.  Fixes PR lib/50698.
2016-01-24 20:34:30 +00:00
christos
6510a8eabd modernize. 2016-01-16 21:31:38 +00:00
christos
5a327b6e14 fix typo 2016-01-16 21:29:33 +00:00
christos
370ae5dba9 PR/50660: David Binderman: bad calls to printf, in test part 2016-01-16 19:44:05 +00:00
christos
caa46aef53 fix lint build 2016-01-11 01:34:39 +00:00
christos
420437aa3e Add sqrtl 2015-12-29 16:57:35 +00:00
christos
64bdb50ef0 add fenv for m68k 2015-12-24 14:12:12 +00:00
christos
63aea4bd5b Add mips fenv.c (From FreeBSD) 2015-12-21 17:02:02 +00:00
christos
161588a5e8 Powerpc fenv.c from FreeBSD 2015-12-20 16:24:25 +00:00
wiz
7e13424c5b Whitespace nit. 2015-12-12 23:55:42 +00:00
nros
33961e7b90 Add manpage to the fma function in libm.
The manpage is taken from the FreeBSD project since the fma implementation is
based on the one in FreeBSD.
2015-12-12 19:05:45 +00:00
wiz
455c3673bc Family is singular, so use singular form of verb. 2015-11-13 09:56:27 +00:00
nros
f30e83597e Fix typo in erfl synopsis. 2015-11-07 18:17:51 +00:00
he
3c48f5cbbf Add entry for nexttowardf(3) and a link for the function name.
Bump manual page date.
2015-09-13 10:58:30 +00:00
wiz
46a774636f Fix typo. 2015-09-13 10:46:41 +00:00
he
a9e1b0780a Add entries for rintl(3) and the nearbyint functions, and
make manual page links to the new functions.
Bump manual page date.
2015-09-13 09:46:30 +00:00
wiz
6c66f8e126 Bump date for previous. 2015-09-10 12:30:08 +00:00
he
84825b10fa Document frexpl() now that we have it as well. 2015-09-10 08:28:54 +00:00
dholland
3f3a74a05e Apply patch in PR 45391 from Yui NARUSE: generate HUGE_VAL rather than
-HUGE_VAL for 0^negative. No objection after asking nearly two years
ago if I shouldn't just commit it.
2015-09-08 05:23:31 +00:00
nat
878ddfdf3d Return x for >= DBL_FRACBITS in lrint.c.
Return x for >= SNG_FRACBITS in lrintf.c

Addresses PR lib/49690

This commit was approved by christos@
2015-07-09 06:17:13 +00:00
joerg
7d697e8913 copysignl is also needed for PowerPC's double-double format, so special
case that. Functional support was added earlier, but not enabled.
2015-05-14 19:26:12 +00:00
matt
e740ee3013 Update to new RISCV ABI 2015-03-27 23:35:40 +00:00
justin
f617fade4f Fix prototypes to match definitions 2015-03-26 11:59:38 +00:00
martin
f91d4e28bb Simplify, now that rounding mode defines match the hardware bits. 2015-01-13 11:16:06 +00:00
martin
f5c779f5d9 Fix exception status vs mask confusion, of course feenableexcept(),
fedisableexcept() and fegetexcept() all operate on the mask.
2014-12-29 19:11:13 +00:00
martin
06e406a946 Add missing return in __SOFTFP__ variant, pointed out by htodd. 2014-12-28 10:15:29 +00:00
martin
b137db7576 Add our common non standard extensions and fix typo (FE_EXCEPT_ALL ->
FE_ALL_EXCEPT).
2014-12-27 17:54:24 +00:00
martin
b19178f8f4 Fix consistent typo: it is FE_ALL_EXCEPT instead of FE_EXCEPT_ALL (this
went unnoticed as the undefined macro evaluated to 0 and the expression
was always used with ~)
2014-12-27 17:52:45 +00:00
martin
dce8d6f504 fenv(3) support for hppa 2014-12-27 16:54:02 +00:00
christos
5f285f6d25 PR/49399: Henning Petersen: Add man pages for erfl and erfcl 2014-11-17 16:53:23 +00:00
joerg
f23a56fd5e Deal with the potential pressence of long double support. 2014-11-16 16:11:33 +00:00
joerg
797e9a249e It's copysign, not _copysign. 2014-11-15 21:07:01 +00:00
joerg
2583a98ba6 Add copysignl aliases. 2014-11-15 20:59:02 +00:00
joerg
f88c0f1c84 Define copysignl on !long double platforms. Be consistent in the use of
weak aliases.
2014-11-14 14:53:17 +00:00
christos
8b9bd2bc1b add erfl erfcl 2014-11-14 03:31:41 +00:00
christos
1a5ec845d4 add a couple more dummies (erf, erfc) 2014-11-13 21:43:27 +00:00
joerg
514c5293cd Add missing muldc3.c. 2014-10-22 10:33:27 +00:00
joerg
6602b2dcba Support copysignl on PowerPC. 2014-10-22 10:32:50 +00:00
joerg
85bde16a84 PPC64 uses the double-double code too 2014-10-17 20:02:12 +00:00
joerg
0d1500f401 Complex division for long double uses different function names on PPC. 2014-10-17 14:53:59 +00:00
martin
35c9ff1477 Need powl as alias as well 2014-10-11 07:19:27 +00:00
martin
5198dd7ae2 Seems we need both sqrtl and _sqrtl as a weak alias - something must be
wrong namespapce wise here, but this should make it build for now.
2014-10-11 06:59:29 +00:00
martin
624656f169 Fix _sqrtl alias 2014-10-11 06:34:31 +00:00
christos
f1159e5250 namespace protection 2014-10-11 00:43:51 +00:00
martin
642e307125 More aliases 2014-10-10 22:06:33 +00:00
martin
3f7199ab7e Add a few missing weak aliases 2014-10-10 20:58:09 +00:00
christos
3595e42fe1 try to make vax work. 2014-10-10 14:06:40 +00:00
christos
aa08994621 use long constant 2014-10-10 12:43:15 +00:00
christos
c271fdcaf7 whitespace 2014-10-10 12:43:07 +00:00
martin
6b7f6880d9 copy&pasto 2014-10-10 08:34:30 +00:00