odd roots
Sun, 05/16/2010 - 08:32
I found an issue trying to evaluate the cubic root of -8. The solution is obviously -2, still I got no answer. I've also tryed to evaluate some others easy odd roots of negative numbers still obtaining no answer but a charmful red question mark :P

Yes, there is a flaw in the floating-point math libraries on the iPhone that I use to perform that calculation. I'm working on implementing my own calculations of this type so that I can work around these kinds of glitches. However, I'm in the later stages of finishing an update, so it may not make it into the next version of the application.