aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/rtl/hipe_rtl_primops.erl
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2015-10-23 15:27:22 +0200
committerMagnus Lång <[email protected]>2015-11-27 18:18:37 +0100
commit6af385b22805cc2e8cee5c0a5f3506361afbe961 (patch)
tree2099f8ccea46f21ed09886eef4abb582455e0de1 /lib/hipe/rtl/hipe_rtl_primops.erl
parenta838b671ef9cc7582f0768778a0447df614b71dd (diff)
downloadotp-6af385b22805cc2e8cee5c0a5f3506361afbe961.tar.gz
otp-6af385b22805cc2e8cee5c0a5f3506361afbe961.tar.bz2
otp-6af385b22805cc2e8cee5c0a5f3506361afbe961.zip
Fix hipe_rtl_binary_construct:floorlog2/1
Relying on double-precision floating-point arithmetic to compute the log2 of an integer up to 64 bits long leads to rounding errors.
Diffstat (limited to 'lib/hipe/rtl/hipe_rtl_primops.erl')
0 files changed, 0 insertions, 0 deletions