diff options
author | Björn Gustavsson <[email protected]> | 2017-08-10 11:46:48 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-11 13:44:47 +0200 |
commit | 8c0569d2b5c26545cb7abd9063a1abda7ebd13e9 (patch) | |
tree | f642c3dbed4f45c217d7312888cfba08b4fd254e /erts/emulator/utils | |
parent | 81a6adab693a75f89bc87911ac23a21308673d2d (diff) | |
download | otp-8c0569d2b5c26545cb7abd9063a1abda7ebd13e9.tar.gz otp-8c0569d2b5c26545cb7abd9063a1abda7ebd13e9.tar.bz2 otp-8c0569d2b5c26545cb7abd9063a1abda7ebd13e9.zip |
Make '0 bsl BigNumber' consistently succeed
'0 bsl 134217728' would fail with a system limit exception on a 32-bit
BEAM machine, but not on a 64-bit BEAM machine. Smaller values
on the right would always work.
Make erlang:bsl(0, BigNumber) always return 0 to make for consistency.
(The previous commit accidentally did that change for
'0 bsl BigNumber'.)
Diffstat (limited to 'erts/emulator/utils')
0 files changed, 0 insertions, 0 deletions