(12C) Check if two numbers is to the power of other
|
09-07-2018, 09:36 PM
Post: #13
|
|||
|
|||
RE: (12C) Check if two numbers is to the power of other
(09-07-2018 08:49 PM)Dieter Wrote: OK. Gamo and Bob: please repeat this case (5 and 25) once again and SST through the program until Just the fact that it failed X≤Y test is enough to deduce X>Y This is the same as the Microsoft calc bug: sqrt(4) - 2 = -8.1648 ... E-39 Sqrt(X) were using formula Exp(1/2 * ln(X)) For the same reason, android 12C Y^X may be the same way, Exp(X* ln(Y)) Technically, it is not a bug, since 5 ^ 2 = 25.00000000 is indeed 10 digits accurate. If exact value of Y^X is required (small positive integer X), just build it with multiply (see post 8) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)