Came across this funny line “y = x + toint - toint + x;” in musl’s definition of round(). Anyone know how it works? https://git.musl-libc.org/cgit/musl/tree/src/math/round.c?id=45ca5d3fcb6f874bf5ba55d0e9651cef68515395#n25 …
-
-
Replying to @pcwalton
Not that it solves the mystery for me, but isn’t that last + supposed to be a -? y = x + toint - toint - x; Now I’m wanting to do some investigation.
3 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.