Artifacts Associated With Ticket 1108528
Ticket change [6cf3682969] (rid 128607) by dgp on 2005-01-24 18:20:53:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "denormals break EIAS"
- type initialized to: "Bug"
Ticket change [f0d6f061d8] (rid 109263) by beric on 2005-01-25 19:54:40:
- 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>
- login: "beric"
- mimetype: "text/plain"
- username: "beric"
- icomment:
Ticket change [7b0a8af2e6] (rid 90445) by kennykb on 2005-05-11 02:18:16:
- closedate changed to: "2005-05-10T19:18:16"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Fixed in 8.5 with the TIP #132 changes.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"