Artifacts Associated With Ticket 1618447fffffffff
Ticket change [915dcb8d00] (rid 120607) by das on 2006-12-18 22:58:50:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
observed on the SF CF host x86-netbsd1: ==== expr-29.1 smallest representible number FAILED ---- Result was: 0 0x806fe00001fffffe 0 0x806fe00001fffffe 0 0x806fe00001fffffe ---- Result should have been (exact matching): 0 0x0000000000000001 0 0x0000000000000001 0 0x0000000000000000 ==== expr-29.1 FAILED ==== expr-29.2 smallest representible number FAILED ---- Result was: 0 0x006fe00001fffffe 0 0x006fe00001fffffe 0 0x006fe00001fffffe ---- Result should have been (exact matching): 0 0x8000000000000001 0 0x8000000000000001 0 0x8000000000000000 ==== expr-29.2 FAILED ==== expr-29.3 silent underflow on input conversion FAILED ---- Result was: 1 -1.41848459010333e-306 ---- Result should have been (exact matching): 1 0.0 ==== expr-29.3 FAILED ==== expr-29.4 silent underflow on input conversion FAILED ---- Result was: 1 1.41848459010333e-306 ---- Result should have been (exact matching): 1 -0.0 ==== expr-29.4 FAILED ==== expr-42.1 denormals FAILED ---- Result was: -1.41848459010333e-306 ---- Result should have been (exact matching): 5e-324 ==== expr-42.1 FAILED
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "das"
- subsystem initialized to: "48. Number Handling"
- title initialized to: "expr failures on NetBSD"
- type initialized to: "Bug"
Ticket change [4f90fb05d2] (rid 125849) by dgp on 2006-12-19 10:50:55:
- assignee changed to: "kennykb"
Ticket change [97dbab14c7] (rid 110508) by kennykb on 2007-01-03 23:16:01:
- icomment:
Logged In: YES user_id=99768 Originator: NO This is a bug in NetBSD's frexp() routine, and not in Tcl itself. http://mail-index.netbsd.org/netbsd-bugs/2006/02/20/0016.html In fact I see at: http://ftp.cs.umn.edu/pub/NetBSD/NetBSD-current/src/lib/libc/gen/frexp_ieee754.c that there's still a comment in the source: /* * Fractions in [0.5..1.0) have an exponent of 2^-1. * Leave Inf and NaN alone, however. * WHAT ABOUT DENORMS? */ and no attempt to handle denormalized quantities. I'm somewhat at a loss what to do when something as fundamental as frexp in the standard C library doesn't work.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [e0037fad0a] (rid 115116) by mistachkin on 2007-01-20 18:04:47:
- icomment:
Logged In: YES user_id=113501 Originator: NO I'm seeing exactly the same failures on FreeBSD 4.11 STABLE.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [36db1b3e2a] (rid 107177) by kennykb on 2007-03-21 02:42:39:
- closedate changed to: "2007-03-20T19:42:39"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Originator: NO This is a problem with certain libm's in BSD-on-x86. NetBSD has fixed it: http://www.nabble.com/PR-32861-CVS-commit:--netbsd-3--src-lib-libc-gen-t1339191.html and, to quote Joe English on the Tcl'ers Chat: "working around bugs in other people's libm's is a black pit of despair." I suggest taking it up with the maintainers of whatever *BSD you are running.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "kennykb"