improved diagnostic

This commit is contained in:
Jeff Hill
2001-06-01 16:40:31 +00:00
parent d0438b37a1
commit 75a5891fb0

View File

@@ -735,8 +735,8 @@ void doubleTest ( chid chan, dbr_double_t beginValue,
status = ca_pend_io ( 100.0 );
SEVCHK ( status, NULL );
if ( fabs ( fval - fretval ) > epsilon ) {
printf ( "float test failed val written %f\n", fval );
printf ( "float test failed val read %f\n", fretval );
printf ( "double test failed val written %f\n", fval );
printf ( "double test failed val read %f\n", fretval );
assert ( 0 );
}
fval += increment;