: <i>float point underflow exception at initialization</i> plus 7 other changes
by
.
D 2009-06-29T23:18:30
J closedate 2009-06-29T16:18:30
J closer kennykb
J icomment Configuring\sthe\shardware\sto\sthrow\sexceptions\son\sfloating\spoint\sunderflow\sand\sfloating\spoint\sdenormalization\sis\squite\sa\sweird\sthing\sto\sdo.\s\sIf\syou're\sgoing\sto\sask\sCommon\sLisp\snot\sto\scatch\sthem,\syou\sreally\sought\sto\sbe\sasking\sthe\shardware\snot\sto\sthrow\sthem.\n\nTcl\spresumes\sthat\sthe\shardware\sfloating\spoint\sexceptions\sare\smasked\s(and\sthat\sInf,\s-Inf,\s0,\s-0,\sdenormals,\sand\sNaN\sresult\sfrom\sexceptional\sconditions\sas\sappropriate).\sIf\ssomeone\selse\schanges\sthe\sfloating\spoint\sexception\smask,\sthat's\sbound\sto\slead\sto\strouble.\n\nThe\sonly\salternative\sfrom\sTcl's\sstandpoint\swould\sbe\sto\ssave,\sset\sand\srestore\sthe\sexception\smask\saround\severy\soperation\sthat\smight\sthrow\sa\sfloating\spoint\sexception.\s(This\sis\sessentially\sall\sfloating\spoint\soperations,\ssince\s'imprecise'\scan\sbe\sthrown\sat\spractically\sany\stime.)\sFar\sbetter\swould\sbe\sfor\sthe\sinter-language\sinterface\scode\sto\sdo\sthe\s_controlfp\sor\s_FPU_GETCW/_FPU_SETCW\sto\sset\sthe\smasks\sas\srequired.\n\nI've\snever\sseen\sanyone\sset\s'underflow\sis\san\serror'\sintentionally.\s\sIt's\sthat\sstrange.\n
J login kennykb
J mimetype text/plain
J resolution Wont\sFix
J status Pending
J username kennykb
K 2797112fffffffffffffffffffffffffffffffff
U kennykb
Z b818debdf722482c9f6899a0f52f6827