Difference between revisions of "User talk:Lady Sumoku"

From Second Life Wiki
Jump to navigation Jump to search
(Testing new markup tags)
 
m (More testing)
 
Line 1: Line 1:
<source lang="lsl2">
Replaced source tag with syntaxhighlight tag... And "lsl2" with "lsl".
float min = 1.175494351E-38;
float max = 3.402823466E+38;
float sci = 2.6E-5;
float sci_a = 2.6E+3;
float sci_b = 2.6E3;
float sci_c = 26000.E-1;
float f = 2600;//implicitly typecast to a float
float E = 85.34859;
float cast = (float)"42";//explicit typecast to a float
float Infintity = (float)"inf"; //-- may be negative, will cause a math error if evaluated in LSO, see 'caveats' below
float NotANumber = (float)"nan"; //-- may be negative, will cause a math error if evaluated in LSO, see 'caveats' bleow
</source>


<syntaxhighlight lang="lsl2">
<syntaxhighlight lang="lsl">
float min = 1.175494351E-38;
float min = 1.175494351E-38;
float max = 3.402823466E+38;
float max = 3.402823466E+38;

Latest revision as of 22:51, 6 March 2023

Replaced source tag with syntaxhighlight tag... And "lsl2" with "lsl".

float min = 1.175494351E-38;
float max = 3.402823466E+38;
float sci = 2.6E-5;
float sci_a = 2.6E+3;
float sci_b = 2.6E3;
float sci_c = 26000.E-1;
float f = 2600;//implicitly typecast to a float
float E = 85.34859;
float cast = (float)"42";//explicit typecast to a float
float Infintity = (float)"inf"; //-- may be negative, will cause a math error if evaluated in LSO, see 'caveats' below
float NotANumber = (float)"nan"; //-- may be negative, will cause a math error if evaluated in LSO, see 'caveats' bleow