You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
The following functions have stub implementations in our libc's integrated libm component:
acos, asin, acosh, asinh, atanh
log, log10, log2, log1p,
expm1
trunc
erf, erfc
gamma, lgamma, tgamma
remainder
copysign
ldexp
These functions are provided to resolve compilation and linking issues in third-party packages, and with dynamic linking their availability as stubs allows them to be implemented without recompiling those packages in the future. Some of the stubs have partial implementations that are known to be incorrect or inaccurate, while others return a hardcoded 0.0.
Action items:
Study the implementations in musl and newlib to understand the common approaches to their implementation.
Examine the x86-64 architecture manuals to see what can be implemented via x87/SSE instructions.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following functions have stub implementations in our
libc
's integratedlibm
component:acos
,asin
,acosh
,asinh
,atanh
log
,log10
,log2
,log1p
,expm1
trunc
erf
,erfc
,gamma
lgamma
,tgamma
remainder
copysign
ldexp
These functions are provided to resolve compilation and linking issues in third-party packages, and with dynamic linking their availability as stubs allows them to be implemented without recompiling those packages in the future. Some of the stubs have partial implementations that are known to be incorrect or inaccurate, while others return a hardcoded
0.0
.Action items:
The text was updated successfully, but these errors were encountered: