|
From: | John W. Eaton |
Subject: | Strange test failure when running with valgrind |
Date: | Wed, 07 Jan 2015 14:49:05 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
a = 1.9*2^61; b = uint64 (a); b++; assert (b > a); The test does not fail when Octave is running normally (without valgrind). Any ideas about why could that be?When the test fails, it appears that b == a, though b++ does appear to increment the initial value of b, and b appears to be the same value in both cases (with and without valgrind).
jwe
[Prev in Thread] | Current Thread | [Next in Thread] |