Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

IvyKing

macrumors regular
Original poster
Aug 31, 2024
174
171
Cardiff, CA
The app has a weird error with the way functions such cos, 10^x, etc when the argument is negative. For example, 10 raised to the power of -1 should return 0.10, but the function returns -10.0. Similarly, cos of -60 degrees should return 0.5, but the function returns -0.5.

The 14.8 app does not have this error.
 
The app has a weird error with the way functions such cos, 10^x, etc when the argument is negative. For example, 10 raised to the power of -1 should return 0.10, but the function returns -10.0. Similarly, cos of -60 degrees should return 0.5, but the function returns -0.5.

The 14.8 app does not have this error.

When I enter 10^-1, I get the correct answer of 0.10

When I enter Cos(-60) in degree mode, I get the correct answer of 0.5

I am using macOS Sequoia 15.7.


richmlow
 
I left out that this happens in RPN mode, but not in normal mode. Seems like the RPN mode has a funky way of handling the sign of the argument.

I appreciate the reply.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.