summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-16 11:48:07 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-16 11:48:07 -0700
commitfab3a6c9de9c56f1db7770c7c5e0271e33455ea2 (patch)
treec46a56d27737c008cdd2b8c30edcacf433847379 /nasmlib.h
parent125c878e96b5aeb50ae0c7f68847200262a9340f (diff)
downloadnasm-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 08a68a5..30f0065 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -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