about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-02-04 10:50:46 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-02-04 10:50:46 +0100
commitaf694b57a22e17a237f5daa1f1b84624dda769d6 (patch)
tree0f1a632d3ffc8087613fdd3d32f7c70781f41655 /src
parent07be0c6ef48af3a00ed85fcd4399eb9af645bbe9 (diff)
downloadbox64-af694b57a22e17a237f5daa1f1b84624dda769d6.tar.gz
box64-af694b57a22e17a237f5daa1f1b84624dda769d6.zip
Added sqrtl wrapped function (for #503)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibm_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibm_private.h b/src/wrapped/wrappedlibm_private.h
index 9610b403..5737da84 100755
--- a/src/wrapped/wrappedlibm_private.h
+++ b/src/wrapped/wrappedlibm_private.h
@@ -426,7 +426,11 @@ GOW(sqrt, dFd)
 GOW(sqrtf, fFf)
 GOM(__sqrtf_finite, fFf)
 GOM(__sqrt_finite, dFd)
-// sqrtl    // Weak
+#ifdef HAVE_LD80BITS
+GOW(sqrtl, DFD)
+#else
+GO2(sqrtl, KFK, sqrt)    // Weak
+#endif
 GO(tan, dFd)
 GOW(tanf, fFf)
 GOW(tanh, dFd)