|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #40607] mxe-octave: mixed uint64/double arithmetic incorrect (GUI-only) |
Date: | Tue, 26 Nov 2013 00:46:28 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 |
Update of bug #40607 (project octave): Status: Fixed => In Progress _______________________________________________________ Follow-up Comment #46: The original behavior with adding or subtracting to uint64(2)^63 is fixed. However, I now get a different failing test: a = uint64 (2**61) + 2; assert (1.25*a == (5*a)/4); Further debug shows a = uint64 (2**61) + 2 a = 2305843009213693954 b = 1.25*a b = 2882303761517117443 c = (5*a)/4 c = 2882303761517117440 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40607> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |