Overview
| Artifact ID: | 3dbdf5b73ed75831e2df6c9280b15ec8152b0b07 |
|---|---|
| Ticket: | 1783544fffffffffffffffffffffffffffffffff
TclIsNaN may get "optimized away" |
| User & Date: | kot on 2007-09-10 22:55:27 |
Changes
- icomment:
Logged In: YES user_id=173641 Originator: YES AFAIK, isnan and isinf are both _the_ standard predicates. The current implementation of each is a hack, which may be needed on some platforms lagging behind. The "auto-foo" may be needed for _those_, not the other way around... As for -fsimpleX -- I tried it in different ways, including the explicit -fsimple1. It did not help. The d != d is, apparently, optimized away as always false long before the nature of the d (being a double) is examined. I'm aware of the possibility of IEEE 754 non-compliance, but the all of the tests succeed here -- after applying the isnan() patch.
- login: "kot"
- mimetype: "text/plain"
- username: "kot"