Skip to content
Tcl Source Code History Of Ticket 1618447fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1618447fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1618447fffffffffffffffffffffffffffffffff

  1. Ticket change [915dcb8d00] (rid 120607) by das on 2006-12-18 22:58:50:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "das"
    10. subsystem initialized to: "48. Number Handling"
    11. title initialized to: "expr failures on NetBSD"
    12. type initialized to: "Bug"
  2. Ticket change [4f90fb05d2] (rid 125849) by dgp on 2006-12-19 10:50:55:

    1. assignee changed to: "kennykb"
  3. Ticket change [97dbab14c7] (rid 110508) by kennykb on 2007-01-03 23:16:01:

    1. 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.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  4. Ticket change [e0037fad0a] (rid 115116) by mistachkin on 2007-01-20 18:04:47:

    1. icomment:
      Logged In: YES 
      user_id=113501
      Originator: NO
      
      
      I'm seeing exactly the same failures on FreeBSD 4.11 STABLE.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  5. Ticket change [36db1b3e2a] (rid 107177) by kennykb on 2007-03-21 02:42:39:

    1. closedate changed to: "2007-03-20T19:42:39"
    2. closer changed to: "kennykb"
    3. 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.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "kennykb"