WP 34S Modulo Bug
06-23-2014, 05:42 AM
Post: #33
 Gerald H Senior Member Posts: 1,573 Joined: May 2014
RE: WP 34S Modulo Bug
(06-22-2014 07:29 PM)walter b Wrote:  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:-)

Could you please find an argument to convince Dieter, as he, unlike you, seems to find the matter much more complex.
 « Next Oldest | Next Newest »

 Messages In This Thread WP 34S Modulo Bug - Gerald H - 06-22-2014, 07:02 AM RE: WP 34S Modulo Bug - walter b - 06-22-2014, 08:10 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 08:43 AM RE: WP 34S Modulo Bug - pito - 06-22-2014, 10:44 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 10:48 AM RE: WP 34S Modulo Bug - pito - 06-22-2014, 10:53 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 10:55 AM RE: WP 34S Modulo Bug - HP67 - 06-22-2014, 09:04 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 10:54 AM RE: WP 34S Modulo Bug - HP67 - 06-22-2014, 11:18 AM RE: WP 34S Modulo Bug - jebem - 06-22-2014, 12:33 PM RE: WP 34S Modulo Bug - HP67 - 06-22-2014, 12:35 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 12:36 PM RE: WP 34S Modulo Bug - Paul Dale - 06-22-2014, 10:56 AM RE: WP 34S Modulo Bug - Massimo Gnerucci - 06-22-2014, 11:32 AM RE: WP 34S Modulo Bug - pito - 06-22-2014, 11:33 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 12:30 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 12:25 PM RE: WP 34S Modulo Bug - Gerald H - 06-23-2014, 08:58 AM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 12:34 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 12:38 PM RE: WP 34S Modulo Bug - Dieter - 06-22-2014, 01:11 PM RE: WP 34S Modulo Bug - pito - 06-22-2014, 01:26 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 01:49 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 01:51 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 02:45 PM RE: WP 34S Modulo Bug - Thomas Klemm - 06-22-2014, 02:05 PM RE: WP 34S Modulo Bug - Thomas Klemm - 06-22-2014, 02:26 PM RE: WP 34S Modulo Bug - Gerald H - 06-22-2014, 02:43 PM RE: WP 34S Modulo Bug - pito - 06-22-2014, 02:46 PM RE: WP 34S Modulo Bug - walter b - 06-22-2014, 07:29 PM RE: WP 34S Modulo Bug - walter b - 06-22-2014, 07:39 PM RE: WP 34S Modulo Bug - Gerald H - 06-23-2014 05:42 AM RE: WP 34S Modulo Bug - walter b - 06-23-2014, 07:31 AM RE: WP 34S Modulo Bug - Gerald H - 06-23-2014, 08:34 AM RE: WP 34S Modulo Bug - Paul Dale - 06-23-2014, 08:40 AM RE: WP 34S Modulo Bug - Andreas - 06-23-2014, 06:13 PM RE: WP 34S Modulo Bug - Joe Horn - 06-22-2014, 08:41 PM RE: WP 34S Modulo Bug - Paul Dale - 06-23-2014, 09:19 AM RE: WP 34S Modulo Bug - Gerald H - 06-23-2014, 09:25 AM RE: WP 34S Modulo Bug - walter b - 06-23-2014, 10:23 AM RE: WP 34S Modulo Bug - Marcus von Cube - 06-23-2014, 06:50 PM RE: WP 34S Modulo Bug - pito - 06-23-2014, 07:27 PM RE: WP 34S Modulo Bug - Gerald H - 06-23-2014, 01:45 PM RE: WP 34S Modulo Bug - jebem - 06-23-2014, 05:40 PM RE: WP 34S Modulo Bug - Paul Dale - 06-23-2014, 09:48 PM RE: WP 34S Modulo Bug - pito - 06-23-2014, 10:09 PM

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