[haiku-commits] Re: haiku: hrev46684 - src/apps/deskcalc

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 16 Jan 2014 21:08:36 +0100

Am 16/01/2014 20:49, schrieb Ingo Weinhold:
I suppose that's due to the use of MAPM as backend. It actually computes
the millions of decimal places (it will probably even run out of memory
due to that, when computing a sufficiently large number). I don't
recall, if there was an actual reason for using MAPM. It obviously
doesn't make much sense in this case.

Doesn't really matter, does it? It's not like x! is a calculation you need every day, and when you do, it doesn't really hurt to be exact.
For larger x, we could just return an error, though.

Also, it would be nice if one could abort the computation, for example if you accidentally mistyped that ! :-)

Bye,
   Axel.

Other related posts: