Error with exp function and imaginary numbers
|
07-28-2020, 03:51 PM
Post: #5
|
|||
|
|||
RE: Error with exp function and imaginary numbers
Thank you very much for your reply, Albert Chan.
The error is related to the sin and cos functions. Using your example, in "CAS" mode my HP PRIME G2 (firmware 20200121) gives the following result: cos(-1e49 mod (2 * Pi)) --> 5.26072423308e214 evidently incorrect result, since the cosine of a real variable returns numbers between -1 and 1. The bug is evident only in the HP PRIME G2 calculator (the "physical" version, so to speak, with firmware 20200121) and only in "CAS" mode. It seems that with the G1-version of HP PRIME the error is not present (see Major's reply)! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Error with exp function and imaginary numbers - robmio - 07-27-2020, 10:08 AM
RE: Error with exp function and imaginary numbers - robmio - 07-27-2020, 01:13 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020, 01:03 PM
RE: Error with exp function and imaginary numbers - Albert Chan - 07-28-2020, 02:48 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020 03:51 PM
RE: Error with exp function and imaginary numbers - John Keith - 07-28-2020, 05:54 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020, 07:10 PM
|
User(s) browsing this thread: 3 Guest(s)