expr failed tests in NetBSD 3.0 x86
Closed / Invalid1444305fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-03-06 17:48:45
I examined the existing expr report 1381715 and found that I'm experiencing some test bugs in NetBSD 3.0 x86 that aren't occuring in 1381715. The gcc version used is 3.3.3. The processor I'm using is a dual-core 2.8 GHz Pentium 4, so I think there probably is not an FPU bug. I have attached the full log from make test. I use an automated Tcl script to do test builds. The script created a new build directory outside of the /gps/src/cvs/HEAD/tcl source tree. The $install_prefix is: /gps/src/cvs/HEAD/Mon-Mar-06-runtime sh ../tcl/unix/configure --prefix=$install_prefix make install make test >& test.log
georgepsplain2006-03-07 00:48:47
File Added - 169946: test.log
georgeps Ticket [1444305fff]: 1 change
[History diff]2006-03-07 00:49:53
georgepsplain2006-04-07 00:24:11
File Added - 173664: test.log
kennykbplain2006-04-07 00:57:59
Logged In: YES
user_id=99768
Per a conversation with the submitter today, the program:
#include <stdio.h>
#include <math.h>
int main(int argc, const char* argv[]) {
double f; int e;
f = frexp(ldexp(1.,-1074), &e);
printf("%g %d\n", f, e);
}
prints '0.5 -1022' rather than the correct
'0.5 -1073'. This appears to be a problem in the
C runtime library on NetBSD, rather than in Tcl.
Log in (anonymous is fine) to add a comment.
Attachments:
- test.log [download] added by georgeps on 2006-04-07 00:24:10. [details]