aboutsummaryrefslogtreecommitdiff
path: root/src/math/x86_64/truncl.s
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-09-05 12:23:44 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-09-05 12:23:44 +0000
commit02343946215a7ae03634c6490abcc69da68df589 (patch)
treefe6fc02037922375ec8ef1e52da576a3345beb54 /src/math/x86_64/truncl.s
parentmath: fix lrintl.s on x86_64 (use movslq to signextend the result) (diff)
downloadgrovel-02343946215a7ae03634c6490abcc69da68df589.tar.gz
grovel-02343946215a7ae03634c6490abcc69da68df589.tar.xz
math: fix expm1l on x86_64 (avoid underflow for large negative x)
copy the fix from i386: return -1 instead of exp2l(x)-1 when x <= -65
Diffstat (limited to 'src/math/x86_64/truncl.s')
-rw-r--r--src/math/x86_64/truncl.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/x86_64/truncl.s b/src/math/x86_64/truncl.s
index bc29f15c..f5cfa3b3 100644
--- a/src/math/x86_64/truncl.s
+++ b/src/math/x86_64/truncl.s
@@ -1 +1 @@
-# see floor.s
+# see floorl.s