WP 34S Modulo Bug
|
06-22-2014, 07:29 PM
Post: #30
|
|||
|
|||
RE: WP 34S Modulo Bug
Just returned from a long day off internet. And I'm a bit astonished about the amount of ... excitement showing up in this thread. When I quickly answered the OP this morning, I admit I looked to the sign of the result only since I remembered it took me some time to follow the signs when checking MOD and RMDR many months ago. I didn't look at the digit of the result at all. Too simple. My fault. And I had no chance to correct that fault during the day.
So the real message is that -4 ENTER 2 MOD returns 2 while 4 ENTER 2 MOD returns 0 which is obviously inconsistent. Yes, that's a bug. The formula printed on said page of the manual states clearly and correctly: a-b∙floor(a/b)=:mod(a;b). Here: mod(-4;2) = -4 - 2∙floor(-4/2) = -4 - 2∙floor(-2) = -4 - 2∙(-2) = 0 in contradiction to the result the WP 34S returns so far. I'm sure we get that corrected. Thanks for starting the thought process with post #1. d:-) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)