diff options
author | Magnus Lång <[email protected]> | 2015-10-23 15:27:22 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2015-11-27 18:18:37 +0100 |
commit | 6af385b22805cc2e8cee5c0a5f3506361afbe961 (patch) | |
tree | 2099f8ccea46f21ed09886eef4abb582455e0de1 /lib/hipe/rtl/hipe_rtl_primops.erl | |
parent | a838b671ef9cc7582f0768778a0447df614b71dd (diff) | |
download | otp-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