failed nchoosek test in mercurial tip
Thorsten Meyer
thorsten.meyier at gmx.de
Tue Dec 2 14:34:26 CST 2008
Hi,
while doing
make check
with the latest mercurial tip on an intel pc running debian, I got this test failure:
>>>>> processing /home/thorsten/hg/octave/scripts/specfun/nchoosek.m
***** assert (nchoosek(100,45), bincoeff(100,45))
!!!!! test failed
assert (nchoosek (100, 45),bincoeff (100, 45)) expected
6.1448e+28
but got
6.1448e+28
values do not match
Trying directly in octave, I get:
octave:2> (nchoosek (100, 45)-bincoeff (100, 45))/nchoosek(100,45)
ans = 2.8343e-14
The difference certainly is not much, but still significantly larger than eps. So, the question is:
is it relevant?
regards
Thorsten
More information about the Bug-octave
mailing list