Skip to content
Tcl Source Code History Of Ticket 1108528
Login

History Of Ticket 1108528

Artifacts Associated With Ticket 1108528

  1. Ticket change [6cf3682969] (rid 128607) by dgp on 2005-01-24 18:20:53:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The following script:
      
         set tcl_precision 17
         # Generate a small value.
         set x [expr {exp(-707)}]
         # Push it into denormal territory.
         while {(0.5*$x)>0.0} { set x [expr {0.5*$x}] }
         puts "    x = $x (double)"
         # Get a text value divorced from the double
      representation.
         set y [format "%.17g" $x]
         puts "    y = $y (string)"
         # Doh! Can't convert back to double...
         catch {expr {$y*1.0}} result
         puts "y*1.0 = $result"
         puts "x*1.0 = [expr {$x*1.0}]"
      
      produces:
      
          x = 4.9406564584124654e-324 (double)
          y = 4.9406564584124654e-324 (string)
      y*1.0 = can't use floating-point value as operand of "*"
      x*1.0 = 4.9406564584124654e-324
      
      Clearly this is another example of
      "everything is a string" getting violated.
      
      Secondary issue is that the error message
      is terrible.
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "denormals break EIAS"
    11. type initialized to: "Bug"
  2. Ticket change [f0d6f061d8] (rid 109263) by beric on 2005-01-25 19:54:40:

    1. icomment:
      Logged In: YES 
      user_id=493507
      
      Hello,
      
      See also bug 532537:
      <http://sourceforge.net/tracker/index.php?func=detail&aid=532537&group_id=10894&atid=110894>
      
      
      
    2. login: "beric"
    3. mimetype: "text/plain"
    4. username: "beric"
  3. Ticket change [7b0a8af2e6] (rid 90445) by kennykb on 2005-05-11 02:18:16:

    1. closedate changed to: "2005-05-10T19:18:16"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      Fixed in 8.5 with the TIP #132 changes.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "kennykb"