ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #00331
Re: Ubuntu Phone Calculator Demo #1
On 23 Feb 2013, at 22:37, Bruno Girin <brunogirin@xxxxxxxxx> wrote:
>
> Actually, that's a nicer suggestion than mine: just display the last good result when the expression results in a syntax error or nan.
Well, NaN _is_ a meaningful result from a calculator. Certain
operations have NaN as the correct answer, just as others have
infinity (showing the correct symbol would be very nice then - not
sure I can find it on an iPad's VKB ;-))
Cheers,
Andrew
--
Andrew Flegg -- mailto:andrew@xxxxxxxx | http://www.bleb.org/
Follow ups
References