'Laurent' said:
And that's all the more impressive as FP div's are not pipelined
In all fairness, you can do tip calculation with a floating point multiply. Sorry for overstating the technology in the app, I feel guilty now
You can do it with fixed point multiply if you really want.
Maybe it's we're underestimating it though, it could be a plot from apple to control the rates for tipping so that they can bribe restaurants and make even more money for being useless.
Fixed point has much too serious range limitations. With 25.7 you could only represent up to a 16.7 million dollar purchase (remember, your bill might be negative dollars so we need it to be signed). With 64bit it's a little better, letting you spend up to $72057594037927935, but this is still only a moderate purchase by Apple's standards. Of course this is assuming that 1 cent precision is enough. That might work for some but I think the users of this app expect better.