Artifacts Associated With Ticket 2797112
Ticket change [a4347d3dfd] (rid 110174) by plushy on 2009-05-26 23:03:41:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Sorry I'm note sure about category. The platform is windows XP. the compiler is VC8.0 I've put the attention that my app with builin tcl fails without any message when it works together with ecl(embedabble common list). After some research I found that it stops if I asks lisp not to catch floating point exceptions. Then I compiled tcl 8.5.7 in debug mode and found that float point underflow detected in the SafeLdExp <- TclInitDoubleConversion <- TclInitSubsystems <- Tcl_FindExecutable when I've called Tcl_FindExecutable in my app.
- foundin initialized to: "obsolete: 8.5.7"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "plushy"
- subsystem initialized to: "48. Number Handling"
- title initialized to: "float point underflow exception at initialization"
- type initialized to: "Bug"
Ticket change [0ee0832927] (rid 94696) by dkf on 2009-05-27 18:35:31:
- icomment:
Initial guess is that the two codebases are fighting over how the hardware should handle floating point exceptions. How lovely... (NOT!)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [1eaf8fcb40] (rid 91019) by dgp on 2009-05-27 22:52:51:
- assignee changed to: "kennykb"
Ticket change [af8002c914] (rid 97825) by kennykb on 2009-06-29 23:18:30:
- closedate changed to: "2009-06-29T16:18:30"
- closer changed to: "kennykb"
- icomment:
Configuring the hardware to throw exceptions on floating point underflow and floating point denormalization is quite a weird thing to do. If you're going to ask Common Lisp not to catch them, you really ought to be asking the hardware not to throw them. Tcl presumes that the hardware floating point exceptions are masked (and that Inf, -Inf, 0, -0, denormals, and NaN result from exceptional conditions as appropriate). If someone else changes the floating point exception mask, that's bound to lead to trouble. The only alternative from Tcl's standpoint would be to save, set and restore the exception mask around every operation that might throw a floating point exception. (This is essentially all floating point operations, since 'imprecise' can be thrown at practically any time.) Far better would be for the inter-language interface code to do the _controlfp or _FPU_GETCW/_FPU_SETCW to set the masks as required. I've never seen anyone set 'underflow is an error' intentionally. It's that strange.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Pending"
- username: "kennykb"
Ticket change [1ffe4a6432] (rid 91239) by sf-robot on 2009-07-14 09:20:49:
- closedate changed to: "2009-07-14T02:20:49"
- closer changed to: "sf-robot"
- icomment:
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"