Overview
| Artifact ID: | 693ddd0818e80750bf93cea8bc3f55ffd673c413 |
|---|---|
| Ticket: | 3105247fffffffffffffffffffffffffffffffff
-NaN? |
| User & Date: | nijtmans on 2010-12-17 21:59:06 |
Changes
- icomment:
Well, I was thinking more in the lines of adapting the "binary scan" command to signal an exception as soon as an sNaN is used. Like "snan.patch", as attached here. ;-) This way it really becomes impossible to create an snan in Tcl. "binary scan" converts the binary representation to string (since EIAS in Tcl). According to IEEE 754, we should signal an exception then: ============================================= Conversion of a signaling NaN in internal format to an external character sequence should produce a language-defined one of "snan" or "nan" or a sequence that is equivalent except for case, with an optional preceding sign. If the conversion of a signaling NaN produces "nan" or a sequence that is equivalent except for case, with an optional preceding sign, then the invalid exception should be signaled. ========================================== TODO: what should the error message look like? TODO: how about __hppa?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"