Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/AssemblyScript/musl
Mirror of git://git.musl-libc.org/musl
https://github.com/AssemblyScript/musl
e68a4633e01e1a9ef41fa6dbc39d1d93dca130d3 authored almost 13 years ago
a9014ac1b9bc813a21752cd40e0a73441860e6e6 authored almost 13 years ago
bff650df9f1f6a0da80d8894535a41b0a2cca320 authored almost 13 years ago
df82f8f2dcbf35ba0e91b8d529491178d896b3b5 authored almost 13 years ago
db0da51b5cd0b1a50634c7c4f8dbc31f0e581d36 authored almost 13 years ago
c5ec5b2ce93bd87eb3dbf966d8bf279089f8a35d authored almost 13 years ago
special care is made to avoid any inexact computations when either arg
is zero (in which case th...
the error status is required to be sticky after failure of dlopen or
dlsym until cleared by dler...
6d8df2b9720b7133a0735c9d5a2aae55021bb2c2 authored almost 13 years ago
(tgamma must be thread-safe, signgam is for lgamma* functions)
cb8fce4b4fa4557641e8ca4cc7061a7de9e44749 authored almost 13 years ago494ba80e9a7f43be76dfee908bbd40ad0b608041 authored almost 13 years ago
13e400b3559666b5e584bdf6f8450aad826b43ae authored almost 13 years ago
this is necessary so that we can freely add macro versions of some of
the math/complex functions...
the old formula atan2(1,sqrt((1+x)/(1-x))) was faster but
could give nan result at x=1 when the ...
2e0c1fed36be1f1435de79bfc7cdc34824cb5614 authored almost 13 years ago
DECIMAL_DIG is not the same as LDBL_DIG
type_DIG is the maximimum number of decimal digits that...
47db8903f61e20aba53adfc987dfb576d22a0b81 authored almost 13 years ago25501c1079756c9b438842da649585c2a6983c24 authored almost 13 years ago
this has not been tested heavily, but it's known to at least assemble
and run in basic usage cas...
some software apparently uses this and breaks with musl due to
mismatching definitions...
58bf74850f5f7286dc290aa22ad982f50620a1c8 authored almost 13 years ago
the main practical results of this change are
1. the regex code is no longer subject to LGPL; it...
old code saved/restored the fenv (the new code is only as slow
as that when inexact is not set b...
8c6fc860a97f79146bf5c092d5cfb90fa6d9355a authored almost 13 years ago
fix comments about special cases
f1347a3a453ce38bf55cd92f5922311235810fd1 authored almost 13 years agofix special cases, use multiplication instead of scalbnl
615bbd365f322cd8d0b1a4383ee0a6ce8e35b33b authored almost 13 years ago1e2fea632b0257745ece5379378a1485f119602a authored almost 13 years ago
03c52e137a28f65519bf6e7c303e5bd25df6e929 authored almost 13 years ago
the fscale instruction is slow everywhere, probably because it
involves a costly and unnecessary...
this is a lot more efficient and also what is generally wanted.
perhaps the bit shuffling could ...
c879a9592f09a49c1807ee95d4305c406f44882e authored almost 13 years ago
804fbf0b8c00fd4e2f37ef0769a610614d06138f authored almost 13 years ago
0b0735af457e599a26a5f82f9e4615c60deac161 authored almost 13 years ago
97721a5508415a2f10eb068e022093811c9ff8be authored almost 13 years ago
exponents (base 2) near 16383 were broken due to (1) wrong cutoff, and
(2) inability to fit the ...
634c3a63027aa4a693b64fae0e2f6e1635558e93 authored almost 13 years ago
zero, one, two, half are replaced by const literals
The policy was to use the f suffix for float...
b03255af77776703c8d48819e824d09f6f54ba86 authored almost 13 years ago
Underflow exception is only raised when the result is
invalid, but fmod is always exact. x87 has...
01084202815fefbb7db23825d8b11a570c455e13 authored almost 13 years ago
75483499dad38b97f5dabb710635e6a8bbbb1c84 authored almost 13 years ago
Some code assumed ldexp(x, 1) is faster than 2.0*x,
but ldexp is a wrapper around scalbn which u...
01fdfd491b5d83b72099fbae14c4a71ed8e0b945 authored almost 13 years ago
2e8c8fbe7d65ba0026cb084dc8570d94cbc908ff authored almost 13 years ago
c3587effe27a3ac8c1406f064b7705963be9887a authored almost 13 years ago
d9c1d72cdc993f3f701f0eea74f370420582e5f6 authored almost 13 years ago
Some long double consts were stored in two doubles as a workaround
for x86_64 and i386 with the ...
9a810cb6851e9707b86ae3e5af5f265da3d6e6a1 authored almost 13 years ago
b04b588791e6afbe7e91684546b446b136fd518c authored almost 13 years ago
9d82a15e152f72ca35a11a7bb359edb4d9232999 authored almost 13 years ago
this could perhaps use some additional testing for corner cases, but
it seems to be correct.
up to 30% faster exp2 by avoiding slow frndint and fscale functions.
expm1 also takes a much mor...
da7458a602a6f0bdea25d6b9b613372048a974e6 authored almost 13 years ago
be5b01f855b9a6460f8ed575bea50dd01030cb50 authored almost 13 years ago
1bf4dad32727ee17e6067caac6600ca0c5ab9f2d authored almost 13 years ago
The old scalbn.c was wrong and slow, the new one is just slow.
(scalbn(0x1p+1023,-2097) should g...
f767aba8afe84d6117c7c0376122a5ff704a69df authored almost 13 years ago
0b70a1e9a9651d21242c5b6da327ecab0f1a38a6 authored almost 13 years ago
9322344fa4c47a64361a81eda1b1930cd4341626 authored almost 13 years ago
unlike some implementations, these functions perform the equivalent of
gcc's -ffloat-store on th...
unlike trig functions, these are easy to do in asm because they do not
involve (arbitrary-precis...
0627e58af8514967372a8ff703e7a86c2571acc2 authored almost 13 years ago
495a52ae7bb581aac2942d7cb095cca2ff53ca3c authored almost 13 years ago
infinities were getting converted into nans. the new code simply tests
for infinity and replaces...
37eb14dd2b92c51404fa54f56b6dfcd487ab5cbb authored almost 13 years ago
dbdec9722ee604969dddf51e81f8c9e4a9ce064a authored almost 13 years ago
6f26cf3dacf9d426bbd18cecb4d486da56c17351 authored almost 13 years ago
682e471400da612769b6e061f2e377db837274ef authored almost 13 years ago
d09a83f613c1d06442ed920ec55a0e5eedacb422 authored almost 13 years ago
correctly rounded double precision fma using extended
precision arithmetics for ld80 systems (x87)
b935147761d1770bb115f09f8c28ddb4d36e1236 authored almost 13 years ago
these are functions that have direct fpu approaches to implementation
without problematic except...
Simple wrappers around round is enough because
spurious inexact exception is allowed.
65db00983f3fa5449f20f2694477f9d5116f6ea5 authored almost 13 years ago
A faster workaround for spurious inexact exceptions
when the result cannot be represented. The o...
9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34 authored almost 13 years ago
it's not even provided in the library at the moment, but could easily
be provided with weak alia...
65db6bf5ea1f27ec2cddd6423868baeff05cc719 authored almost 13 years ago
da0acc32efc85a91c4225157d22520743c6d8f8c authored almost 13 years ago
untested; may need followup-fixes.
b60053e7621a29ace6ab5c7b4e256e252f31ad13 authored almost 13 years ago
if all exception flags will be cleared, we can avoid the expensive
store/reload of the environme...
9cb6878e747909c7a45dd1c4dd550ac62e1f7690 authored almost 13 years ago
d5e576c7527c42b376d20ef38669ffc2a78b0a76 authored almost 13 years ago
0b337e04aafe2cf5012bbef67b250eb25da67e0f authored almost 13 years ago
Note that the new fesetround has slightly different semantics:
Storing the floating-point envir...
88cfaf8a142a8c57beccb89398a6421c4bbf121a authored almost 13 years ago523a3ab1a24c0aa06b14d9c931173cd90a46d29e authored almost 13 years ago
d3fc724759ef08a8032e76e14f8cd96bfb837e17 authored almost 13 years ago
this is necessary to support archs where fenv is incomplete or
unavailable (presently arm). fma,...
8c071f872b2844ca297275176047f8d23eec96a7 authored almost 13 years ago
otherwise, the standard C lgamma function will clobber a symbol in the
namespace reserved for th...
standard functions cannot depend on nonstandard symbols
de7db6e927e568c52eaffeb51d7726a094ed0180 authored almost 13 years ago93a50a26cd0f9efc59cc83daae7b2d916b327ab1 authored almost 13 years ago
2cbb24bba39ad3529315098b5619b6fec078eb82 authored almost 13 years ago
a43c3a337f4fd8a273c6fe29604f3b24d8d32760 authored almost 13 years ago
6f21da618ff0d90597390563ce3e05970816b5a3 authored almost 13 years ago
a double precision nan, when converted to extended (80-bit) precision,
will never end in 0x400, ...
1295848efb9171011e79610a5c3ab7c20859ea36 authored almost 13 years ago
long double and float bessel functions are no longer xsi extensions
40305f74bd70a575ce73260227ed3b64e0625b13 authored almost 13 years ago0144b45b71c0b78055b311fe3e7408fee71eb0c1 authored almost 13 years ago
presumably broken gcc may generate calls to these, and it's said that
ffmpeg makes use of sincosf.
46702f68f98244f7384d6ac1742a452f0d7a2610 authored almost 13 years ago