diff options
author | Lukas Larsson <[email protected]> | 2014-10-28 11:43:07 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-10-28 11:43:07 +0100 |
commit | d1d6a655545ddf3c088bf06f3f8636a5cf3b9fe2 (patch) | |
tree | 851b4d7d399e29796b58a139c2907b55fead5541 /erts/emulator/hipe | |
parent | 7d08338b0742fd4b24cdd87ee9f098ec09fcecea (diff) | |
parent | 3a4433d67cb2f14c5ed69e8eae7b772eebcaa30b (diff) | |
download | otp-d1d6a655545ddf3c088bf06f3f8636a5cf3b9fe2.tar.gz otp-d1d6a655545ddf3c088bf06f3f8636a5cf3b9fe2.tar.bz2 otp-d1d6a655545ddf3c088bf06f3f8636a5cf3b9fe2.zip |
Merge branch 'maint'
* maint:
Use isfinite() instead of finite() when available
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c index 327546bfd0..9eb0b88ced 100644 --- a/erts/emulator/hipe/hipe_bif0.c +++ b/erts/emulator/hipe/hipe_bif0.c @@ -902,7 +902,7 @@ BIF_RETTYPE hipe_conv_big_to_float(BIF_ALIST_1) */ void hipe_emulate_fpe(Process* p) { - if (!finite(p->hipe.float_result)) { + if (!isfinite(p->hipe.float_result)) { p->fp_exception = 1; } } |