Skip to content
Tcl Source Code Artifact [6b464294c3]
Login

Artifact [6b464294c3]

Artifact 6b464294c36a15e10cff61ac6250ef2b0b4736e0:

Ticket change [6b464294c3] - Ticket [474335ffffffffff|474335ffff] <i>logic of matherr is backwards</i> status still Open with 4 other changes by davygrvy on 2002-05-28 11:04:49.
D 2002-05-28T11:04:49
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nThere\sare\s2\smentions\sof\sit\sin\sinclude/math.h:\n\nstruct\s\s_exception\n{\n\s\s\s\sint\stype;\n\s\s\s\schar\s\s\s_FAR\s*name;\n\s\s\s\sdouble\s\sarg1,\sarg2,\sretval;\n};\n\nstruct\s\s_exceptionl\n{\n\s\s\s\sint\stype;\n\s\s\s\schar\s\s\s_FAR\s*name;\n\s\s\s\slong\sdouble\s\sarg1,\sarg2,\sretval;\n};\n\ntypedef\senum\n{\n\s\s\s\sDOMAIN\s=\s1,\s\s\s\s/*\sargument\sdomain\serror\s--\slog\s(-1)\s\s\s\s\s\s\s\s*/\n\s\s\s\sSING,\s\s\s\s\s\s\s\s\s\s/*\sargument\ssingularity\s\s--\spow\s(0,-2))\s\s\s\s\s*/\n\s\s\s\sOVERFLOW,\s\s\s\s\s\s/*\soverflow\srange\serror\s\s--\sexp\s(1000)\s\s\s\s\s\s*/\n\s\s\s\sUNDERFLOW,\s\s\s\s\s/*\sunderflow\srange\serror\s--\sexp\s(-1000)\s\s\s\s\s\n*/\n\s\s\s\sTLOSS,\s\s\s\s\s\s\s\s\s/*\stotal\sloss\sof\ssignificance\s--\ssin(10e70)\s*/\n\s\s\s\sPLOSS,\s\s\s\s\s\s\s\s\s/*\spartial\sloss\sof\ssignif.\s--\snot\sused\s\s\s\s\s\s*/\n\s\s\s\sSTACKFAULT\s\s\s\s\s/*\sfloating\spoint\sunit\sstack\soverflow\s\s\s\s\s\s\s*/\n}\s\s\s_mexcep;\n\nint\s\s\s\s\s\s\s\s\s_RTLENTRY\s\s\s\s\s\s\s\s\s\s_matherr(struct\s_exception\s\s*__e);\nint\s\s\s\s\s\s\s\s\s_RTLENTRY\s\s\s\s\s\s\s\s\s\s_matherrl(struct\s_exceptionl\s\n*__e);\n\nI\sdon't\sknow\swhat\sto\ssay\sbeyond\sthe\sexistence\sof\sit.\s\sI\sdon't\s\nhave\sany\sdocumentation\son\sBorland's\sRT\sto\scontribute\sany\s\nuseful\sconcerns.\s\sfastmath.h\ssays\sthe\sfollowing,\sthough:\n\n/*\n\s\s\sfastmath.h\s-\sheader\sfile\sfor\sthe\sFastMath\sroutines.\s\sThese\s\nare\shigh\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sperformance\smath\sroutines\sthat\sdon't\sbother\s\nchecking\sfor\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\smost\serror\sconditions\sand\snever\scall\smatherr.\s\s\nThey\sare\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scoded\sfor\smaximum\sspeed\sand\smost\sare\swritten\sin\s\nassembly.\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sThese\sfunctions\sare\snever\sexported\sfrom\sthe\s\nRTLDLL,\swhich\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\smeans\sthat\sthey\salways\sget\slinked\sdirectly\sinto\sthe\s\nPE\sfile\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\swhich\sis\sbeing\screated.\n\n*/\n\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 474335ffffffffffffffffffffffffffffffffff
U davygrvy
Z a5b158cc498bd4ea55d2832b49d716d1