BUG: Binary QuickBasic Default Compiled Exponent (^) Bad (35516)
The information in this article applies to:
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
This article was previously published under Q35516 SYMPTOMS
In programs compiled with Microsoft QuickBasic (b) (binary math)
Version 1.00, a constant that is the object of the exponential
operator (^) does not assume double precision when assigned to a
double-precision variable. As a result, the exponential calculation
is only accurate to single precision.
To work around the problem, you can append an explicit type symbol of
&, #, or ! onto the exponential constant, as shown below, or compile
with Microsoft QuickBasic (d) (decimal math). The problem does not
exist in the interpreter or in the Microsoft Basic Compiler Version
1.00 for the Macintosh .
Microsoft has confirmed this to be a bug in the Microsoft
QuickBasic Compiler (b) Version 1.00 for the Macintosh . We are
researching this problem and will post new information as it becomes
available.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbbug KB35516 |
---|
|