false success for exp test.
Hi,
if I get it right there is error in ltp-full-20090831/testcases/misc/math/float/exp_log/genexp.c (see genexp_resfile.patch)
Resulting file exp_out.ref is wrong, but it is not catch by test - nan_compare.patch make correct nan comparison.
--
Regards,
Pavel Kiryukhin
misc/math/float/exp_log/genexp.c renamed from misc/math/float/exp_log/genexp.c_org +1 -1
@@ -51,7 +51,7 @@ Inc =log (exp (1 )/10 );for (i=0 ; i<nbVal; i++) - tabR[i] =log ( (Inc*i) + Inc ); + tabR[i] =exp ( (Inc*i) + Inc ); fp =open (F_name,O_RDWR |O_CREAT |O_TRUNC ,0777 );
misc/math/float/thread_code.c renamed from misc/math/float/thread_code.c_org +1 -1
@@ -124,7 +124,7 @@ x =fabs (r - e);/* diff expected/computed */ -if (x >EPS ) {/* error ? */ +if ((x >EPS ) || (x != x)) {/* error ? */ /* compute exponent parts */ (void )frexp (r, &pr);/* for computed */ (void )frexp (x, &px);/* for difference */
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 6 lines · Pavel Kiryukhin
Hi,
if I get it right there is error inltp-full-20090831/testcases/misc/math/float/exp_log/genexp.c(see genexp_resfile.patch)
Resulting file exp_out.ref is wrong, but it is not catch by test - nan_compare.patch make correct nan comparison.
Thanks.
Regards--
Subrata
Quoted 10 lines
--
Regards,
Pavel Kiryukhin
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list