]>
git.zerfleddert.de Git - micropolis/blob - src/tclx/src/tclxmerr.c
06aad3a044f1ecd12b9fb01c5f9905072962b151
4 * Extended Tcl default matherr routine, may be replace by an application
6 *-----------------------------------------------------------------------------
7 * Copyright 1992 Karl Lehenbauer and Mark Diekhans.
9 * Permission to use, copy, modify, and distribute this software and its
10 * documentation for any purpose and without fee is hereby granted, provided
11 * that the above copyright notice appear in all copies. Karl Lehenbauer and
12 * Mark Diekhans make no representations about the suitability of this
13 * software for any purpose. It is provided "as is" without express or
15 *-----------------------------------------------------------------------------
16 * $Id: tclXmatherr.c,v 2.1 1992/11/09 07:33:02 markd Exp $
17 *-----------------------------------------------------------------------------
21 #ifndef TCL_IEEE_FP_MATH
26 *-----------------------------------------------------------------------------
29 * Default matherr routine for extended Tcl. If the error does not
30 * belong to Tcl, standard math error processing is done. An
31 * aplication may replace this routine with their own, however it must
32 * call \fBTcl_MathError\fR to check if the error belongs to tcl.
34 *-----------------------------------------------------------------------------
40 *-----------------------------------------------------------------------------
43 * Dummy matherr for systems wanting to use IEEE 745-1985 floating point
44 * math error reporting. This just disables standard Unix matherr message
45 * printing by returning 1. Except parameter not specified, since some systems
46 * don't define it or even use matherr.
48 *-----------------------------------------------------------------------------
56 #endif /* TCL_IEEE_FP_MATH */