Difference between revisions of "Talk:LlFrandom"

From Second Life Wiki
Jump to navigation Jump to search
m ("Any valid float value")
 
Line 4: Line 4:


Aren't all floats valid? --[[User:TxMasterG Ping|TxMasterG Ping]] 16:31, 16 April 2007 (PDT)
Aren't all floats valid? --[[User:TxMasterG Ping|TxMasterG Ping]] 16:31, 16 April 2007 (PDT)
:Depends what you consider valid, IEEE 754/854 single floats support NaN and various forms of Infinity. LSL does not support those values. Personally I agree with you, it's redundant. It's why on most pages you don't have variable descriptions (besides the fact that nobody has written them). [[User:Strife Onizuka|Strife Onizuka]] 17:05, 16 April 2007 (PDT)

Latest revision as of 17:05, 16 April 2007

Implementing this (along with a function to seed the random number generator) would require changes to the VM (a new register would need to be added to the header to track the seed). -- Strife Onizuka 00:22, 17 March 2007 (PDT)

"Any valid float value"

Aren't all floats valid? --TxMasterG Ping 16:31, 16 April 2007 (PDT)

Depends what you consider valid, IEEE 754/854 single floats support NaN and various forms of Infinity. LSL does not support those values. Personally I agree with you, it's redundant. It's why on most pages you don't have variable descriptions (besides the fact that nobody has written them). Strife Onizuka 17:05, 16 April 2007 (PDT)