joerg
560a52b9a0
Retire ldexp sources. scalbn has the aliases.
2013-04-27 22:58:15 +00:00
uebayasi
bad3256eeb
Pass a real file as MLINKS target; fix unnecessary (re)install.
2013-04-06 12:16:49 +00:00
martin
905b216648
Use __HAVE_LONG_DOUBLE instead of EXT_EXPBITS and include s_nextafterl.c
...
as well as s_frexpl.c in the global list of "common" sources - as we
seem to have no arch redefining the standard double variant, it seems
unlikely we will have on redefining the long double version in assembler.
2013-02-12 21:40:18 +00:00
matt
9aeffda480
any arch that has fenv.[ch] can have fma as well (since fma uses fenv).
2013-02-11 17:55:01 +00:00
matt
6567e38835
Add VFP versions of lrint/lrintf/lrintl for earmhf*
2013-02-11 12:43:03 +00:00
christos
be32181245
add more functions required by fma
2013-02-11 01:47:04 +00:00
christos
e3f9b211a9
hook fma to the build
2013-02-11 01:29:58 +00:00
christos
afdc807ef9
Hook to the build.
2013-02-09 22:33:13 +00:00
christos
ee48b743e7
Make this work for NetBSD
2013-02-09 20:19:13 +00:00
matt
c31c561dde
Add support for the ARM hardfloat instructions vsqrt and vabs.
2013-02-03 07:13:07 +00:00
matt
57a1ba1789
Use COPTS instead of CFLAGS
2012-08-04 15:16:16 +00:00
christos
a898920ce2
Add tgamma{,f} from FreeBSD via rudolf, netbsd at eq dot cz
2012-05-05 17:54:13 +00:00
joerg
b757af438b
Disable new -Wstring-plus-int warning where needed for now.
...
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
matt
fa835e8c8b
These directories default to WARNS?=5
2012-03-21 05:37:42 +00:00
njoly
92562600d4
On alpha compile the math library with dynamic rounding mode instead
...
of fixed normal IEEE rounding mode. This makes function that depends on
the current rounding mode, such as rint(3), just work.
2012-03-09 08:03:53 +00:00
jruoho
a6e1d3b208
Split out pow(3) from exp(3).
2011-09-17 10:51:52 +00:00
jruoho
6fd7775f29
Split out the logarithm functions from the perplex exp(3). Also remove some
...
useless notes in the latter (namely, no one cares that financial calculations
were done on Hewlett-Packard HP-71B, or that there is a LN1() in Pascal).
2011-09-13 05:26:47 +00:00
jruoho
6cfcd0daec
Deprecate ieee(3).
2011-08-06 11:01:12 +00:00
jruoho
c19246b80a
Split out the scalbn(3) family out from ieee(3) and properly document it.
2011-08-06 10:51:26 +00:00
joerg
cee5599b68
Add logbl(3).
2011-08-03 14:13:07 +00:00
joerg
5ccaf4b804
Add ilogbl(3).
2011-07-28 22:32:28 +00:00
joerg
bff4ba20de
Add scalbnl(3) mlinks.
2011-07-28 21:10:25 +00:00
matt
ad1826f0ba
Add scalbn{,f,l} for VAX.
2011-07-28 20:53:20 +00:00
joerg
afda0f82d1
Add scalbnl to libm.
2011-07-26 16:10:15 +00:00
mrg
75e42fa7da
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
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
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
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
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
christos
e2a86dd3c7
Commit SoC long double support from Stathis Kamperis
2010-09-15 16:11: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
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
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
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
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
christos
5f7c431ef4
Add exp2 and exp2m
2010-01-11 16:28:39 +00:00
joerg
d3ac1c4282
Disable the use of mandoc for now until support for conditional
...
expression exists.
2009-10-23 23:42:52 +00:00
christos
26573d8819
add f{min,max,dim}{,l,f} from FreeBSD
2009-10-04 22:04:30 +00:00
he
fddc3457b2
Change the use of formally undocumented features, which have now been
...
made to fail. Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.
Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
gmcgarry
3c9a95916d
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
2008-08-29 00:02:21 +00:00
gmcgarry
396359b261
Check MKCOMPLEX variable to build complex support into libm.
2008-07-12 12:23:13 +00:00
ad
1b74c9b77c
- Fold libm387 into libm.
...
- Leave libm387 as an empty shell.
2008-06-03 18:47:28 +00:00