Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1553: error underline for floating point numbers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

162 Posts

Posted - Apr 19 2007 :  11:39:08 AM  Show Profile  Reply with Quote
It turns out that VA X is having troubles parsing floating point numbers that have a decimal point, no decimal digits and an exponent component.

1.0e10;  // parses correctly
1.e10;   // error underlines the "e10" part

(The same happens when using the f postfix to specify it's a float rather than a double.)

According to the C++ standard there don't need to be any digits between the decimal point and the exponent :). Of course, this isn't a big problem and I can easily use the former notation, but I thought I'd let you know anyway.

Edited by - .oisyn on Apr 19 2007 12:09:09 PM

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 19 2007 :  1:12:19 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description. As you say, fairly minor, but it is good to be aware of these things

case=6103

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000