Post Reply 
An iteration produces all the prime numbers
02-17-2021, 10:00 AM
Post: #17
RE: An iteration produces all the prime numbers
.
(02-17-2021 01:00 AM)Valentin Albillo Wrote:  odd
One of my favourite jokes...

Quote:
Quote:I see the HP-71B described as having 12 digits. Can you explain please, Valentin?

Yes. The value featured in your linked article is 2 followed by 12 decimals, i.e., 13 digits in all.

To get the full 12 decimals in a 12-digit calc the integer part (2) gets in the way so my program simply gets rid of it by initializing the sum to -1, thus no integer part is ever involved and the 12-digit HP-71B can merrily compute the 12-digit decimal part in its full glory...
Thanks for explaining!

Quote:
Quote:I wonder if there's any extended precision library for the 71B or any other HP calculator, to allow us to work with more digits?

Well, computing multiprecision results with the HP-71B is not that difficult at all once you've done it a few times, just for instance have a look at ...
Excellent - thanks again.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: An iteration produces all the prime numbers - EdS2 - 02-17-2021 10:00 AM



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