Artifacts Associated With Ticket 473262ffffffffff
Ticket change [b80187b066] (rid 128896) by nobody on 2001-10-20 21:32:25:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Borland (for whatever reasons) limits the input value to the sin function to some 9.0e+16. This in itself does not present a big problem but Tcl produces an exception in this case - and this is always bad. I modified tclWinMtherr.c to get rid of the exception. Now the user gets a domain error. Diff file is enclosed. This has no relation to the 64 bit version of Tcl, it was just discovered in this context. It will affect any Borland generated version. Best regards Helmut
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Patch for math errors (Borland)"
- type initialized to: "Patch"
Ticket change [42a169c337] (rid 116417) by dkf on 2001-10-22 20:03:55:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Patch submitted by Helmut Giese <[email protected]>
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [e7c99fa58b] (rid 104529) by dkf on 2001-10-22 20:07:53:
- subsystem changed to: "51. Release Notes"
Ticket change [b033df07b7] (rid 97944) by dkf on 2001-10-22 20:08:34:
- priority changed to: "6"
- subsystem changed to: "52. Portability Support"
Ticket change [4e2884df14] (rid 127174) by dkf on 2002-06-07 17:53:10:
- assignee changed to: "davygrvy"
Ticket change [8fc35d39ae] (rid 120328) by hobbs on 2002-09-03 03:55:14:
- icomment:
Logged In: YES user_id=72656 there is no patch here ??
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [2fd3eb3677] (rid 93135) by hgiese on 2002-09-03 04:22:35:
- icomment:
Logged In: YES user_id=522169 Hello Jeffrey, seems like the patch is already done: The sources in Tcl 8341 say if ((xPtr->type == DOMAIN) || (xPtr->type == SING)) { errno = EDOM; while those from 84b1 say if ((xPtr->type == DOMAIN) #ifdef __BORLANDC__ || (xPtr->type == TLOSS) #endif || (xPtr->type == SING)) { errno = EDOM; I don't quite remember whether this was my fix or not - but then, who else should have discovered and fixed it? I'd suggest to leave it at that. Best regards Helmut - login: "hgiese"
- mimetype: "text/plain"
- username: "hgiese"
- icomment:
Ticket change [9c2135a018] (rid 111229) by hobbs on 2002-09-03 04:38:31:
- closedate changed to: "2002-09-02T21:38:31"
- closer changed to: "hobbs"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [afbed51039] (rid 97863) by hgiese on 2002-09-03 04:50:33:
- icomment:
Logged In: YES user_id=522169 this should explain it: -------------------- Envelope-to: [email protected] Delivery-date: Mon, 22 Oct 2001 16:58:22 +0200 From: "Donal K. Fellows" <[email protected]> To: [email protected] [snip] Helmut Giese <[email protected]> > *** tclwinmtherr.cSat Oct 20 20:55:12 2001 > --- tclwinmtherr.corgFri Apr 16 00:48:08 1999 > *************** > *** 43,53 **** > if (!TclMathInProgress()) { > return 0; > } > - #ifdef __BORLANDC__ > - if ((xPtr->type == DOMAIN) || (xPtr->type == SING) || (xPtr->type == TLOSS)) { > - #else > if ((xPtr->type == DOMAIN) || (xPtr->type == SING)) { > - #endif > errno = EDOM; > } else { > errno = ERANGE; You are aware that's a backwards patch? :^) The change has been applied to the 64-bit branch. I suppose it ought to go in the mainline too, but I'm currently operating entirely within the branch. It'll make it through eventually. :^) Donal. [end of ancient email] So that should be it. Helmut - login: "hgiese"
- mimetype: "text/plain"
- username: "hgiese"
- icomment: