[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #18982] Three check failures on x86-64
From: |
John Darrington |
Subject: |
PSPP-BUG: [bug #18982] Three check failures on x86-64 |
Date: |
Thu, 09 Aug 2007 01:34:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070510 Iceape/1.0.9 (Debian-1.0.9-0etch1) |
Follow-up Comment #5, bug #18982 (project pspp):
Forget most of what I said previously. Further investigation shows that the
problem is simply the my_rand subroutine which generates the cases is not as
platform invariant as it might be:
sub my_rand {
my ($modulo) = @_;
$next = ($next * 1103515245 + 12345) % (2**32);
return int ($next / 65536) % $modulo;
}
If $next starts at a large value, then the multiplication leads to precision
errors on the 32 bit machines, and thus a different sequence of numbers.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18982>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/01
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/08
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/08
- PSPP-BUG: [bug #18982] Three check failures on x86-64,
John Darrington <=
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/09
- PSPP-BUG: [bug #18982] Three check failures on x86-64, John Darrington, 2007/08/10
- PSPP-BUG: [bug #18982] Three check failures on x86-64, Ben Pfaff, 2007/08/10