The information in this article applies to:
SYMPTOMS
The Microsoft Macro Assembler (MASM) may fail to generate an error
when a floating-point value is outside the range of the minimum
allowable values.
However, MASM versions 5.1, 5.1a, 6.0, 6.0a, and 6.0b fail to generate
an error when exceeding the low end of this range until a value of
3.37E-32752 or smaller for the 4 and 8-byte types and a value of
3.37E-32746 or smaller for the 10-byte type.
STATUSMicrosoft has confirmed this to be a problem in MASM versions 5.1, 5.1a, 6.0, 6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version 6.1. MORE INFORMATION
The sample program below may be used to illustrate this problem. In
the code, two of each of the 4-, 8-, and 10-byte data types are
declared and initialized. For each type, one initializing value is
used that correctly causes an error, while the other similar
initializing value fails to cause an error, even though it should.
MASM versions 5.1 and 5.1a are not as explicit in their error message, but they correctly generate the following overflow error for n1, n3, and n5: Neither MASM version 5.1, 5.1a, 6.0, 6.0a, or 6.0b generates an error (as they should) on the declaration of n2, n4, and n6. (These versions fail to produce the expected error for any number smaller than the values listed above for each data type.) Sample Code
Additional query words: 5.10 5.10a 6.00 6.00a 6.00b buglist6.00 buglist6.00a buglist6.00b fixlist6.10
Keywords : |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |