Difference between revisions of "Talk:Float"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
This should have more information. In particular, what's the syntax for specifying a float? Are there constants for the smallest possible and largest possible floats? Does the type support full IEEE operation (including INF, -INF, NAN, etc.)? Does LSL automatically promote integers to floats in a float expression? What about conversion to/from strings, etc.? (I'd add all this myself but I don't yet have a clue).<br/> | This should have more information. In particular, what's the syntax for specifying a float? Are there constants for the smallest possible and largest possible floats? Does the type support full IEEE operation (including INF, -INF, NAN, etc.)? Does LSL automatically promote integers to floats in a float expression? What about conversion to/from strings, etc.? (I'd add all this myself but I don't yet have a clue).<br/> | ||
--[[User:Wilder Vallejo|Wilder Vallejo]] 14:04, 21 February 2007 (PST) | --[[User:Wilder Vallejo|Wilder Vallejo]] 14:04, 21 February 2007 (PST) | ||
- | |||
:I'll write a more detailed article later (working on functions etc). LSL does use IEEE floats but it does not support any of the interesting features of the standard, specifically INF or NAN. for string->float typecasting it supports hex, hex floats and scientific notation and regular notation. The LSL compiler only supports regular and scientific notation. [[User:Strife Onizuka|Strife Onizuka]] 14:26, 21 February 2007 (PST) |
Revision as of 14:26, 21 February 2007
Needs More Information
This should have more information. In particular, what's the syntax for specifying a float? Are there constants for the smallest possible and largest possible floats? Does the type support full IEEE operation (including INF, -INF, NAN, etc.)? Does LSL automatically promote integers to floats in a float expression? What about conversion to/from strings, etc.? (I'd add all this myself but I don't yet have a clue).
--Wilder Vallejo 14:04, 21 February 2007 (PST)
- I'll write a more detailed article later (working on functions etc). LSL does use IEEE floats but it does not support any of the interesting features of the standard, specifically INF or NAN. for string->float typecasting it supports hex, hex floats and scientific notation and regular notation. The LSL compiler only supports regular and scientific notation. Strife Onizuka 14:26, 21 February 2007 (PST)