diff options
author | Lars Hesel Christensen <[email protected]> | 2013-09-24 11:09:42 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-10-10 14:28:38 +0200 |
commit | 4364de3cc6c6212b291a5c240f25a00e90b2e852 (patch) | |
tree | 9ac74510d0ead8e3230fdb947c697ede0d4c4194 | |
parent | ad0e13a4e535a22db786c5f4ae24dfe220b959e4 (diff) | |
download | otp-4364de3cc6c6212b291a5c240f25a00e90b2e852.tar.gz otp-4364de3cc6c6212b291a5c240f25a00e90b2e852.tar.bz2 otp-4364de3cc6c6212b291a5c240f25a00e90b2e852.zip |
Add bsr test data showing bug when shifting large numbers
Add test data demonstrating that bsr is broken when shifting a large
number a huge number of bits to the right.
-rw-r--r-- | erts/emulator/test/big_SUITE_data/eq_big.dat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/test/big_SUITE_data/eq_big.dat b/erts/emulator/test/big_SUITE_data/eq_big.dat index 5511d1bf10..4ccb33d182 100644 --- a/erts/emulator/test/big_SUITE_data/eq_big.dat +++ b/erts/emulator/test/big_SUITE_data/eq_big.dat @@ -13001,4 +13001,5 @@ 0 = 7153697524993 bsr 475833444444444444444444444444444444444444444444. -1 = -83987348 bsr 475833444444444444444444444444444444444444444444. +0 = 1183140560213014108063589658350 bsr 146783911423364576743092537299333564210980159306769991919205685720763064069663027716481187399048043939495935. |