diff options
author | Lukas Larsson <[email protected]> | 2011-10-03 19:09:55 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-10-11 17:19:01 +0200 |
commit | f82d49ab3e65f52fd7b6dd7d9e8913543b7a1375 (patch) | |
tree | c05558771e1ee9984a437e24b115271b3da7b0b8 /erts/emulator/beam/erl_bif_os.c | |
parent | 3dc379948b1d7ce6c4f35f56df937603a6013f24 (diff) | |
download | otp-f82d49ab3e65f52fd7b6dd7d9e8913543b7a1375.tar.gz otp-f82d49ab3e65f52fd7b6dd7d9e8913543b7a1375.tar.bz2 otp-f82d49ab3e65f52fd7b6dd7d9e8913543b7a1375.zip |
Do small optimisation on platforms with 32 bit Eterm
On 32 bit we know that a comparison with a lossfull double
and a short will always give the float is being superior.
So therefore we only have to check the sign on the double.
Diffstat (limited to 'erts/emulator/beam/erl_bif_os.c')
0 files changed, 0 insertions, 0 deletions