[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35680] mod97 incorrect result
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #35680] mod97 incorrect result |
Date: |
Thu, 01 Mar 2012 16:21:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 |
URL:
<http://savannah.gnu.org/bugs/?35680>
Summary: mod97 incorrect result
Project: GNU Octave
Submitted by: None
Submitted on: Qui 01 Mar 2012 16:21:20 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
I've found an error when computing mod97.
FORMULA: 98 - mod(data, 97)
EXAMPLE: 98 - mod(60392010507000000, 97)
OCTAVE ANSWER: 50
But it should be 47, not 50! overflow?
I think the mod() formula should launch a warning or something else to
indicate problem.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35680>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35680] mod97 incorrect result,
anonymous <=