Difference between revisions of "Category talk:LSL Float"
Jump to navigation
Jump to search
Adicted Waco (talk | contribs) m (Something Seems Off) |
|||
Line 16: | Line 16: | ||
Shouldn't Both Give The Same? [[User:Adicted Waco|Adi]] 20:51, 15 July 2009 (UTC) | Shouldn't Both Give The Same? [[User:Adicted Waco|Adi]] 20:51, 15 July 2009 (UTC) | ||
:You can report it as a bug on [http://jira.secondlife.com/ Jira]. The two values are however identical when read as floats. It's a feature of floating point precision types; the precision is at the top, not the bottom of the value. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 20:30, 17 July 2009 (UTC) |
Revision as of 13:30, 17 July 2009
Something Seems Off
Simple Script <lsl> default {
state_entry() { llOwnerSay((string)((float)"3.402823466E+38")); }
} </lsl> In Mono It Says: 340282300000000000000000000000000000000.000000
In LSL Is Says: 340282346638528859811704183484516925440.000000
Shouldn't Both Give The Same? Adi 20:51, 15 July 2009 (UTC)