Numerical accuracy on the HP Prime (in Python, Home, and CAS)
|
07-26-2024, 07:01 PM
Post: #5
|
|||
|
|||
RE: Numerical accuracy on the HP Prime (in Python, Home, and CAS)
Thank you parisse. Rounding error is bound to happen when working with limited precision, the results of such a computation are expected to have different error margin in different precision environments.
For clarification, I did not mean to imply the result of limited precision float arithmetic was incorrect. Part of my curiosity was to see if someone would be able to simulate 'extended precision' for a MOD operation through a user program, perhaps using strings even if inefficient, simply for novelty or amusement. I was confused about the operator precedence at first, and added a suggestion regarding placing parenthesis around MOD when in textbook display mode. Another reason for the thread was to note some differences between Python and the MicroPython implementation on the Prime, so that users might be able to adjust their scripts accordingly if necessary. - neek |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Numerical accuracy on the HP Prime (in Python, Home, and CAS) - ftneek - 07-25-2024, 06:40 PM
RE: Numerical accuracy on the HP Prime (in Python, Home, and CAS) - Nigel (UK) - 07-25-2024, 08:52 PM
RE: Numerical accuracy on the HP Prime (in Python, Home, and CAS) - ftneek - 07-25-2024, 10:17 PM
RE: Numerical accuracy on the HP Prime (in Python, Home, and CAS) - parisse - 07-26-2024, 04:27 PM
RE: Numerical accuracy on the HP Prime (in Python, Home, and CAS) - ftneek - 07-26-2024 07:01 PM
|
User(s) browsing this thread: 1 Guest(s)