Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1553: error underline for floating point numbers

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
.oisyn Posted - Apr 19 2007 : 11:39:08 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 19 2007 : 1:12:19 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000