diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-16 11:48:07 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-16 11:48:07 -0700 |
commit | fab3a6c9de9c56f1db7770c7c5e0271e33455ea2 (patch) | |
tree | c46a56d27737c008cdd2b8c30edcacf433847379 /nasmlib.h | |
parent | 125c878e96b5aeb50ae0c7f68847200262a9340f (diff) | |
download | nasm-fab3a6c9de9c56f1db7770c7c5e0271e33455ea2.tar.gz nasm-fab3a6c9de9c56f1db7770c7c5e0271e33455ea2.tar.bz2 nasm-fab3a6c9de9c56f1db7770c7c5e0271e33455ea2.zip |
Floating-point warning fixes; fix round-to-overflow
Actually generate the appropriate floating-point warnings, and only
one per assembly, pretty please.
Correct the round-to-overflow condition; as written all numbers with a
positive exponent were considered overflows!
Diffstat (limited to 'nasmlib.h')
-rw-r--r-- | nasmlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ typedef void (*efunc) (int severity, const char *fmt, ...); #define ERR_WARN_FL_DENORM WARN(7) /* FP denormal */ #define ERR_WARN_FL_UNDERFLOW WARN(8) /* FP underflow */ #define ERR_WARN_FL_TOOLONG WARN(9) /* FP too many digits */ -#define ERR_WARN_MAX 8 /* the highest numbered one */ +#define ERR_WARN_MAX 9 /* the highest numbered one */ /* * Wrappers around malloc, realloc and free. nasm_malloc will |