Overview
| Artifact ID: | 158b1677bfd28c691df998aae5de4edd8e6910df |
|---|---|
| Ticket: | 532537ffffffffffffffffffffffffffffffffff
Buggy Windows strtod() ? |
| User & Date: | nobody on 2002-03-20 16:03:35 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Try following script under Window NT: proc testDouble {} { set a0 [expr {double(2.63624325102e-308)}] set b [expr {double(0.19024736769)}] set a $a0 set count 30 while {[incr count -1] > 0} { # just make a lose its double repr # string length $a puts "a = $a" set a [expr {$a*$b}] } } a is decreasing until 0.0. Now uncomment the [string length] line, and try it again. This gives the error message: can't use non-numeric string as operand of "*" (Is it possible to have "floating-point value too small to represent" ?) This work fine under Linux. Can I conclude that my Windows NT strtod() is buggy ? - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "11. Conversions from String"
- title changed to: "Buggy Windows strtod() ?"
- type changed to: "Bug"