Post Reply 
(12C) Check if given number is Prime Number or not
09-13-2018, 11:21 PM
Post: #13
RE: (12C) Check if given number is Prime Number or not
(09-13-2018 09:35 PM)Albert Chan Wrote:  
(09-13-2018 08:52 PM)rprosperi Wrote:  12C+: 0.000000000
12C Emulator: 0.000000000
12CP: 0.330000000
12CP Emulator: 0.333330000 <=== wink, wink, nudge, nudge, say no more!

I was curious, which answer you preferred most ?
The wink, wink can be intepreted either way Smile

there is beauty in what you see is what you get ... but, more precision is better

0.330000000 is without question the right answer. The emulator, by definition, must return the exact same results as the machine it is emulating, even if the emulator's answer is theoretically more accurate.

Sorry if my Python quote was misleading, it's just what popped into my head when I saw the result, 'no need to say any more'.

--Bob Prosperi
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 - rprosperi - 09-13-2018 11:21 PM



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