Post Reply 
(12C) Check if given number is Prime Number or not
09-14-2018, 06:33 PM (This post was last modified: 09-14-2018 06:35 PM by Dieter.)
Post: #16
RE: (12C) Check if given number is Prime Number or not
(09-14-2018 04:19 PM)rprosperi Wrote:  12C+: 0.135620000 (Note: I am using the preceding "E" to be clear, but these are not actually displayed, there is simply a space)
12C Emulator: 0.135620000
12CP: 0.135623700
12CP Emulator: 0.135623731 <=== Again, deviation from correct behavior

...but at least correctly rounded. There should be one more digit on the 12C Platinum emulator. What do you get if you multiply the result by 10? The true value of sqrt(2) is 1,4142135623730950488... so the emulator should show 1,356237310 (when correctly rounded up) or at least 1,356237309 (when truncated after the 15th digit, as the internal routines often do – think of the 5^2 – 25 example).

(09-14-2018 04:19 PM)rprosperi Wrote:  12C+: 9.999999 E99
12C Emulator: 9.999999 E99
12CP: 9.999999 E99
12CP Emulator: 9.999999 E99

So there is no extended working range. Maybe this is due to the limited display space.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (12C) Check if given number is Prime Number or not - Dieter - 09-14-2018 06:33 PM



User(s) browsing this thread: 2 Guest(s)