Difference between revisions of "Talk:LlRound"

From Second Life Wiki
Jump to: navigation, search
(Rounding direction)
m (Rounding direction)
Line 8: Line 8:
  
 
Just checked ... LSO behaves the same as Mono.  And the Mozilla Java Script page says math.round behaves like LSL.  http://tinyurl.com/phsk5zy  [[User:Omei Qunhua|Omei Qunhua]] 00:22, 15 June 2014 (PDT)
 
Just checked ... LSO behaves the same as Mono.  And the Mozilla Java Script page says math.round behaves like LSL.  http://tinyurl.com/phsk5zy  [[User:Omei Qunhua|Omei Qunhua]] 00:22, 15 June 2014 (PDT)
 +
 +
:I checked what LSLEditor does and it does the same as Mono. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 12:13, 15 June 2014 (PDT)

Revision as of 11:13, 15 June 2014

In all seriousness, how does a "pretty table", which doubled the page width, https://wiki.secondlife.com/w/index.php?title=LlRound&diff=next&oldid=1187121 fit in with the edit of https://wiki.secondlife.com/w/index.php?title=LlJsonSetValue&diff=prev&oldid=1181771 made for "...better readability on mobile screens..."??? LepreKhaun Resident 20:47, 20 January 2014 (PST)

Rounding direction

I can see in retrospect of course that there's no problem in accurately holding -4.5 or -5 in a float. But as for rounding towards positive infinity, is the lslWiki page wrong too? http://lslwiki.net/lslwiki/wakka.php?wakka=llRound Omei Qunhua 13:26, 14 June 2014 (PDT)

Check what LSO does, this may be a difference between LSO and Mono that was never caught... or nobody noticed that llRound is not cmath roundf -- Strife (talk|contribs) 18:54, 14 June 2014 (PDT)

Just checked ... LSO behaves the same as Mono. And the Mozilla Java Script page says math.round behaves like LSL. http://tinyurl.com/phsk5zy Omei Qunhua 00:22, 15 June 2014 (PDT)

I checked what LSLEditor does and it does the same as Mono. -- Strife (talk|contribs) 12:13, 15 June 2014 (PDT)