This website requires JavaScript.
494ba80e9a
simplify creal and cimag macros
Rich Felker
2012-03-22 20:00:58 -04:00
13e400b355
add creal/cimag macros in complex.h (and use them in the functions defs)
Rich Felker
2012-03-22 15:54:55 -04:00
132f0a0083
tgmath.h: suppress any existing macro definitions before defining macros
Rich Felker
2012-03-22 15:36:56 -04:00
a4a0c91275
acos.s fix: use the formula acos(x) = atan2(sqrt(1-x),sqrt(1+x))
nsz
2012-03-22 14:54:47 +01:00
2e0c1fed36
sysconf support for dynamic limits (open files and processes)
Rich Felker
2012-03-22 01:00:35 -04:00
47db8903f6
fix DECIMAL_DIG definitions
Rich Felker
2012-03-21 12:42:48 -04:00
25501c1079
initial, very primitive strfmon
Rich Felker
2012-03-21 00:47:37 -04:00
30df206cb0
x86_64 math asm, long double functions only
Rich Felker
2012-03-20 23:29:24 -04:00
80949ccdc6
limits.h: support gcc's -funsigned-char
Rich Felker
2012-03-20 21:10:06 -04:00
58bf74850f
Merge remote branch 'nsz/master'
Rich Felker
2012-03-20 19:51:11 -04:00
ad47d45e9d
upgrade to latest upstream TRE regex code (0.8.0)
Rich Felker
2012-03-20 19:44:05 -04:00
91c28f61f4
nearbyint optimization (only clear inexact when necessary)
nsz
2012-03-20 22:49:19 +01:00
8c6fc860a9
remove a fixme comment
nsz
2012-03-20 20:08:35 +01:00
f1347a3a45
clean up pow.c and powf.c fix comments about special cases
nsz
2012-03-20 20:04:53 +01:00
615bbd365f
clean up powl.c fix special cases, use multiplication instead of scalbnl
nsz
2012-03-20 19:59:50 +01:00
1e2fea632b
fix a cbrtl.c regression and remove x87 precision setting
nsz
2012-03-20 15:17:15 +01:00
03c52e137a
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-20 10:25:02 +01:00
baa43bca0a
optimize scalbn family
Rich Felker
2012-03-20 00:51:32 -04:00
7513d3ecab
remquo asm: return quotient mod 8, as intended by the spec
Rich Felker
2012-03-19 23:53:52 -04:00
c879a9592f
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-20 04:09:14 +01:00
804fbf0b8c
use alternate formula for acos asm to avoid loss of precision
Rich Felker
2012-03-19 23:08:49 -04:00
0b0735af45
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-20 03:13:26 +01:00
97721a5508
Merge remote branch 'nsz/master'
Rich Felker
2012-03-19 22:07:43 -04:00
acb744921b
fix exp asm
Rich Felker
2012-03-19 21:55:53 -04:00
634c3a6302
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-19 23:55:06 +01:00
0cbb654791
code cleanup of named constants
nsz
2012-03-19 23:41:19 +01:00
b03255af77
fix remainder*.c: remove useless long double cast
nsz
2012-03-19 23:39:47 +01:00
4caa17b2a1
don't try to create non-standard denormalization signal
nsz
2012-03-19 23:30:45 +01:00
0108420281
Merge remote branch 'nsz/master'
Rich Felker
2012-03-19 18:30:35 -04:00
75483499da
new modff.c code, fix nan handling in modfl
nsz
2012-03-19 23:27:45 +01:00
2786c7d216
use scalbn or *2.0 instead of ldexp, fix fmal
nsz
2012-03-19 22:57:58 +01:00
01fdfd491b
fix long double const workaround in cbrtl
nsz
2012-03-19 22:49:03 +01:00
2e8c8fbe7d
don't inline __rem_pio2l so the code size is smaller
nsz
2012-03-19 19:26:31 +01:00
c3587effe2
minor fix in __tanl (get sign properly)
nsz
2012-03-19 19:14:32 +01:00
d9c1d72cdc
bug fix: wrong opcode for writing long long
Rich Felker
2012-03-19 13:58:47 -04:00
eca1c35e5b
remove long double const workarounds
nsz
2012-03-19 18:52:17 +01:00
9a810cb685
fix erfl wrapper for long double==double case
nsz
2012-03-19 18:06:06 +01:00
b04b588791
asm for log1p
Rich Felker
2012-03-19 10:59:41 -04:00
9d82a15e15
asm for log2
Rich Felker
2012-03-19 10:43:28 -04:00
27deb53889
asm for remquo
Rich Felker
2012-03-19 09:42:51 -04:00
02db27d9de
optimize exponential asm for i386
Rich Felker
2012-03-19 09:00:30 -04:00
da7458a602
Merge remote branch 'nsz/master'
Rich Felker
2012-03-19 06:28:22 -04:00
be5b01f855
fix broken modf family functions
Rich Felker
2012-03-19 06:22:54 -04:00
1bf4dad327
asm for modf functions
Rich Felker
2012-03-19 05:56:41 -04:00
8051e08e10
simplify scalbn*.c implementations
nsz
2012-03-19 10:54:07 +01:00
f767aba8af
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-19 10:50:42 +01:00
0b70a1e9a9
asm for floor/ceil/trunc
Rich Felker
2012-03-19 05:42:04 -04:00
9322344fa4
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-19 10:20:24 +01:00
58ff9e8eaf
asm for scalbn family
Rich Felker
2012-03-19 05:15:30 -04:00
bc33e61704
asm for inverse trig functions
Rich Felker
2012-03-19 04:56:07 -04:00
0627e58af8
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-19 08:01:21 +01:00
495a52ae7b
asm for log functions
Rich Felker
2012-03-18 23:50:54 -04:00
aa1b4dff45
fix broken exponential asm
Rich Felker
2012-03-18 23:17:28 -04:00
37eb14dd2b
asm for lrint family on i386
Rich Felker
2012-03-18 22:05:20 -04:00
dbdec9722e
Merge branch 'master' of git://git.etalabs.net/musl
nsz
2012-03-19 02:55:31 +01:00
6f26cf3dac
asm exponential functions for i386
Rich Felker
2012-03-18 21:43:43 -04:00
682e471400
remove unnecessary TODO comments from fma.c
nsz
2012-03-19 02:05:57 +01:00
d09a83f613
fmal bug fix: nan input should not raise exception
nsz
2012-03-19 00:59:16 +01:00
b1cbd70743
add fma implementation for x86
nsz
2012-03-19 00:36:55 +01:00
b935147761
assembly optimizations for fmod/remainder functions
Rich Felker
2012-03-18 17:09:34 -04:00
8d9e948652
asm versions of some simple math functions for i386 and x86_64
Rich Felker
2012-03-18 16:43:54 -04:00
afad262440
simplify lround and llround functions
nsz
2012-03-18 20:52:33 +01:00
65db00983f
make lrint and llrint functions work without fenv support
nsz
2012-03-18 20:40:43 +01:00
9b6899f2c5
faster lrint and llrint functions
nsz
2012-03-18 19:27:39 +01:00
9e2a895aaa
fix loads of missing const in new libm, and some global vars (?!) in powl
Rich Felker
2012-03-18 01:58:28 -04:00
8e092217dd
move nonstandard gamma() etc. to _GNU_SOURCE only
Rich Felker
2012-03-17 21:48:48 -04:00
65db6bf5ea
c++ seems to want some casts in the float representation-access macros
Rich Felker
2012-03-17 21:40:10 -04:00
da0acc32ef
release notes for 0.8.7
Rich Felker
2012-03-17 20:35:25 -04:00
b60053e762
try fixing/optimizing x86_64 fenv exception code
Rich Felker
2012-03-17 20:10:02 -04:00
316e024f63
optimize x86 feclearexcept
Rich Felker
2012-03-17 19:29:00 -04:00
9cb6878e74
fix x86_64 fe[gs]etround, analogous to nsz's x86 changes
Rich Felker
2012-03-17 18:02:20 -04:00
d5e576c752
minor 387 fenv optimizations
Rich Felker
2012-03-17 17:49:10 -04:00
0b337e04aa
Merge remote branch 'nsz/master'
Rich Felker
2012-03-17 17:34:30 -04:00
88cfaf8a14
fix i386 fegetround and make fesetround faster
nsz
2012-03-17 13:46:15 +01:00
523a3ab1a2
don't fail on inability to install dynamic linker (e.g. if not root)
Rich Felker
2012-03-17 00:48:55 -04:00
d3fc724759
one more fenv availability issue: lround
Rich Felker
2012-03-17 00:02:36 -04:00
2e77dc13f8
make fma and lrint functions build without full fenv support
Rich Felker
2012-03-16 23:58:49 -04:00
8c071f872b
other side of the signgam namespace fix: use the internal name
Rich Felker
2012-03-16 21:20:53 -04:00
1a3dce4184
make signgam a weak alias for an internal symbol
Rich Felker
2012-03-16 21:18:48 -04:00
de7db6e927
fix namespace issues for lgamma, etc.
Rich Felker
2012-03-16 21:16:32 -04:00
93a50a26cd
Merge remote branch 'nsz/master'
Rich Felker
2012-03-16 21:01:34 -04:00
2cbb24bba3
remove junk sincos implementations in preparation to merge nsz's real ones
Rich Felker
2012-03-16 20:53:05 -04:00
a43c3a337f
revert COPYRIGHT file changes in preparation to merge nsz's math branch
Rich Felker
2012-03-16 20:52:00 -04:00
6f21da618f
update copyright status (math library and new year)
Rich Felker
2012-03-16 19:18:00 -04:00
9d507419db
remove special nan handling from x86 sqrt asm
Rich Felker
2012-03-15 19:56:36 -04:00
1295848efb
simplify nan check in sqrt (x86 asm); result of sqrt is never negative
Rich Felker
2012-03-15 12:16:51 -04:00
40305f74bd
in math.h make lgamma_r and non-double bessel _GNU_SOURCE only long double and float bessel functions are no longer xsi extensions
nsz
2012-03-15 09:29:53 +01:00
0144b45b71
efficient sincos based on sin and cos
nsz
2012-03-15 08:17:28 +01:00
5657cc58e5
implement sincosf and sincosl functions; add prototypes
Rich Felker
2012-03-15 02:38:42 -04:00
46702f68f9
avoid changing NaNs in sqrt (x86 asm) to satisfy c99 f.9 recommendation
Rich Felker
2012-03-15 01:55:54 -04:00
809556e60a
correctly rounded sqrt() asm for x86 (i387)
Rich Felker
2012-03-15 01:29:03 -04:00
e0a54e6725
correct rounding for i387 sqrtf function
Rich Felker
2012-03-13 22:15:52 -04:00
32ca5ef3ff
math cleanup: use 1.0f instead of 1.0F
nsz
2012-03-13 21:11:46 +01:00
8d0a6f7a1c
math cleanup: use 1.0f instead of (float)1.0
nsz
2012-03-13 20:24:23 +01:00
9560b6b152
remove libm.h includes when math.h and float.h are enough
nsz
2012-03-13 19:51:14 +01:00
291f839a44
fix scanf handling of "0" (followed by immediate EOF) with "%x"
Rich Felker
2012-03-13 12:37:51 -04:00
df8b3e5aef
clean up __expo2.c, use a slightly better k constant
nsz
2012-03-13 16:38:22 +01:00
3a6c828652
fix copyright notice for the math lib
nsz
2012-03-13 16:06:43 +01:00
bf9d9dcaa6
implement nan, nanf, nanl
Rich Felker
2012-03-13 01:55:25 -04:00
b69f695ace
first commit of the new libm!
Rich Felker
2012-03-13 01:17:53 -04:00