BUG: Double Precision to Power of Integer Var Fails Compiled (43566)
This article was previously published under Q43566
SYMPTOMS
Raising a double-precision number to the power of an integer variable
incorrectly returns zero in the program below when compiled in
Microsoft QuickBasic Version 1.00 for Macintosh .
The problem occurs in either the Binary math [QuickBasic (b)] or the
Decimal math [QuickBasic (d)] versions of the compiler. The problem
does not occur in the interpreter in QuickBasic. Microsoft is
researching this problem and will post new information as it becomes
available.
To work around the problem, raise the double-precision number to the
power of a non-integer variable, such as a double-precision variable
or a constant of any precision.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
kbbug KB43566 |
|