Artifacts Associated With Ticket 2952904
Ticket change [107885d55d] (rid 94978) by rmax on 2010-02-16 17:35:29:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The line tiny = SafeLdExp(1.0, DBL_MIN_EXP * log2FLT_RADIX - mantBits); from TclInitDoubleConversion() causes a "floating-point assist fault" to be written to the system log on Linux/IA64.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "1 Zero"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "rmax"
- subsystem initialized to: "48. Number Handling"
- title initialized to:
"floating point assist fault" on IA64 during Tcl startup
- type initialized to: "Bug"
Ticket change [e37ac8b81f] (rid 87808) by kennykb on 2010-02-19 09:52:14:
- assignee changed to: "hobbs"
- icomment:
The attached patch does the following things: It removes the constant 'tiny' which holds the smallest floating point number that is still greater than zero. It replaces a comparison 'retval < tiny' with 'retval <= 0.0', which is logically equivalent. It replaces an assignment from the 'tiny' constant with fabricating the number when the assignment takes place - note that this will cause floating point software assist only when the eventual return value will be a denormal. And it removes the run-time initialization of 'tiny'. This should avoid the spurious log message at initialization time, and cause log messages to appear only when denormals are produced.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
Add attachment "2952904.patch" [8a1eed8f4a] (rid 127339) by kennykb on 2010-02-19 09:52:42.
Ticket change [9cf3cbc11a] (rid 96232) by kennykb on 2010-02-19 09:52:43:
- icomment:
File Added - 363529: 2952904.patch
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [75529c9d48] (rid 105372) by kennykb on 2010-02-19 09:58:07:
- assignee changed to: "rmax"
- icomment:
IMO a regression test is difficult to develop because the SWFPA behaviour is not observable directly to the process; the only way to detect the problem is for a root process to examine the syslog output (which can be disabled in any case) on an IA64 machine. I don't have suitable hardware available to develop the test, so I'm assigning to rmax. The patch should not be committed without an appropriate test case.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
Ticket change [60183f8b39] (rid 115932) by nijtmans on 2010-05-19 18:42:19:
- icomment:
This fix caused [Bug #2996549] in HEAD, so whenever this fix is backported to the 8.5 branch, at least #2996549 should be backported along with it.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Add attachment "2952904_2.patch" [fb5ede79b7] (rid 92056) by nijtmans on 2010-05-19 18:49:55.
Ticket change [d2c9c88cbe] (rid 113596) by nijtmans on 2010-05-19 18:49:55:
- icomment:
File Added - 374432: 2952904_2.patch
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [27529db838] (rid 88494) by nijtmans on 2010-05-19 18:51:05:
- icomment:
Or, just apply the corrected fix 2952904_2.patch to the 8.5 branch.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [5b0f1ec7ef] (rid 259694) by serhiy.storchaka on 2026-10-21 10:03:35:
- icomment:
Fixed by [0ff9783605] and the follow-up [0958a5f61a] (8.6.0; backported to 8.5.10): the smallest denormal is no longer computed at startup. Present in all current branches.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [3a347f544b] (rid 259992) by serhiy.storchaka on 2026-10-22 17:19:29:
- closedate changed to: "2461334.919165787"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"