diff options
author | Lukas Larsson <[email protected]> | 2014-10-28 11:42:58 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-10-28 11:42:58 +0100 |
commit | 3a4433d67cb2f14c5ed69e8eae7b772eebcaa30b (patch) | |
tree | f23b51e249fbf6cae8cb7377b61d38cd8d574d0e /erts/emulator/beam/sys.h | |
parent | 3f5685c7354dc481294013cf86d2f9621300c139 (diff) | |
parent | 4d73c647b55977d23c4295073945bd8aeb91ff83 (diff) | |
download | otp-3a4433d67cb2f14c5ed69e8eae7b772eebcaa30b.tar.gz otp-3a4433d67cb2f14c5ed69e8eae7b772eebcaa30b.tar.bz2 otp-3a4433d67cb2f14c5ed69e8eae7b772eebcaa30b.zip |
Merge branch 'sv/isfinite/OTP-12268' into maint
* sv/isfinite/OTP-12268:
Use isfinite() instead of finite() when available
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index 1bdb1579f5..c29d4b3777 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -505,7 +505,7 @@ extern volatile int erts_writing_erl_crash_dump; # define NO_ERF # define NO_ERFC /* This definition doesn't take NaN into account, but matherr() gets those */ -# define finite(x) (fabs(x) != HUGE_VAL) +# define isfinite(x) (fabs(x) != HUGE_VAL) # define USE_MATHERR # define HAVE_FINITE #endif |