Old 10-24-2021, 12:21 PM   #1
jack461
Human being with feelings
 
jack461's Avatar
 
Join Date: Nov 2013
Location: France
Posts: 181
Default Broken number notation in JSFX

When defining in JSFX:
Code:
A=1e6;
B=1e-6;
C=-1e6;
D=-1e-6;
A and C have the correct values of 1000000 and -1000000, but the values of B and D are -5.9999999 and -6.000001 respectively... No compile error is signaled.
jack461 is offline   Reply With Quote
Old 10-25-2021, 01:16 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

Thanks for pointing this out! EEL2 does not support XeY notation, we’ll update it to give a parse error in these instances
Justin is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.