I forgot that I typed in PI, I just did that because I memorized it to over 100 places and I wanted it to be as exact as possible. Unless Math.PI goes to more than 100 places...
as javadoc says, Math.PI is most accurate PI estimate that you can put into double, with that logic Math.round(Math.PI) should be most accurate value of PI in float.
Interesting sidenote: By only using PI to 47 places it would be possible to accurately draw a circle around the known universe, accurate to the width of an atom.
you mean a sphere probably...
c'mon really, optimizing abs!? ... while it could be fun it's pointless