"Depending on what else is going on, I think you can sometimes get sin & cos for the same cost as 1 add instruction"
#shithnsays
-
-
They're correct for almost half of the possible floating-point inputs!
-
Perhaps for a minor stretch of "almost half". Looks like only about 46% of the exponent space for single precision. :-)
-
BTW, having a REPL for C floating point expressions is very handy. I just have a cheap RPN one I threw together a while back for stuff like this.
End of conversation
New conversation -
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.