.
D 2010-12-17T21:59:06
J icomment Well,\sI\swas\sthinking\smore\sin\sthe\slines\sof\sadapting\sthe\n"binary\sscan"\scommand\sto\ssignal\san\sexception\sas\ssoon\nas\san\ssNaN\sis\sused.\sLike\s"snan.patch",\sas\sattached\shere.\s\s;-)\n\nThis\sway\sit\sreally\sbecomes\simpossible\sto\screate\san\ssnan\nin\sTcl.\s"binary\sscan"\sconverts\sthe\sbinary\srepresentation\sto\nstring\s(since\sEIAS\sin\sTcl).\sAccording\sto\sIEEE\s754,\swe\nshould\ssignal\san\sexception\sthen:\n=============================================\nConversion\sof\sa\ssignaling\sNaN\sin\sinternal\sformat\sto\san\sexternal\ncharacter\ssequence\sshould\sproduce\sa\slanguage-defined\sone\sof\n"snan"\sor\s"nan"\sor\sa\ssequence\sthat\sis\sequivalent\sexcept\sfor\ncase,\swith\san\soptional\spreceding\ssign.\sIf\sthe\sconversion\sof\sa\nsignaling\sNaN\sproduces\s"nan"\sor\sa\ssequence\sthat\sis\sequivalent\nexcept\sfor\scase,\swith\san\soptional\spreceding\ssign,\sthen\sthe\ninvalid\sexception\sshould\sbe\ssignaled.\n==========================================\nTODO:\swhat\sshould\sthe\serror\smessage\slook\slike?\nTODO:\show\sabout\s__hppa?\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3105247fffffffffffffffffffffffffffffffff
U nijtmans
Z d9c28bda8aa15403d14ecc80bf02992b