Post Reply 
newRPL - Updated to build 1510 [official build remains at 1487]
08-07-2021, 02:20 PM
Post: #155
RE: newRPL - Updated to build 1487 [ including official build]
(08-07-2021 01:13 PM)Wes Loewer Wrote:  1. I noticed a bug on the ATAN function when used with complex arguments. For instance, « (3,2) ATAN » should return (1.338972522294.,0.146946666226.) but instead returns (1.338972522294.,0.402359478109.)

I could be mistaken, but I think the problem can be traced back to an algebraic error which fortunately is shown clearly in the comments above the code.
See lib-66-transcendentals.c, lines 1444-1445
Code:
// Denominator = (1-im^2) - (i*re)^2
// = 1-im^2+re^2 (real number)

The code that follows seems consistent with this comment.

However, if I'm not mistaken, I think that should have been
Code:
// Denominator = (1-im)^2 - (i*re)^2
// = (1-im)^2+re^2 (real number)

which changes the final result.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - Updated to build 1487 [ including official build] - Wes Loewer - 08-07-2021 02:20 PM
Navigating through sub-menus - Gilles - 05-13-2023, 11:31 AM
It's a mystery to me... - Klaus - 11-27-2023, 12:24 PM



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