Difference between revisions of "Talk:LlRound"

From Second Life Wiki
Jump to navigation Jump to search
(Rounding query)
Line 5: Line 5:
==Rounding direction==
==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 [[User:Omei Qunhua|Omei Qunhua]] 13:26, 14 June 2014 (PDT)
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 [[User:Omei Qunhua|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 [http://www.cplusplus.com/reference/cmath/round/ cmath roundf] -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 18:54, 14 June 2014 (PDT)

Revision as of 18:54, 14 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)