1 |
dashley |
25 |
/* $Header: /cvsroot/esrg/sfesrg/esrgpcpj/shared/tcl_base/tclmath.h,v 1.1.1.1 2001/06/13 04:42:57 dtashley Exp $ */
|
2 |
|
|
|
3 |
|
|
/*
|
4 |
|
|
* tclMath.h --
|
5 |
|
|
*
|
6 |
|
|
* This file is necessary because of Metrowerks CodeWarrior Pro 1
|
7 |
|
|
* on the Macintosh. With 8-byte doubles turned on, the definitions of
|
8 |
|
|
* sin, cos, acos, etc., are screwed up. They are fine as long as
|
9 |
|
|
* they are used as function calls, but if the function pointers
|
10 |
|
|
* are passed around and used, they will crash hard on the 68K.
|
11 |
|
|
*
|
12 |
|
|
* Copyright (c) 1997 Sun Microsystems, Inc.
|
13 |
|
|
*
|
14 |
|
|
* See the file "license.terms" for information on usage and redistribution
|
15 |
|
|
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
16 |
|
|
*
|
17 |
|
|
* RCS: @(#) $Id: tclmath.h,v 1.1.1.1 2001/06/13 04:42:57 dtashley Exp $
|
18 |
|
|
*/
|
19 |
|
|
|
20 |
|
|
#ifndef _TCLMATH
|
21 |
|
|
#define _TCLMATH
|
22 |
|
|
|
23 |
|
|
#if defined(MAC_TCL)
|
24 |
|
|
# include "tclMacMath.h"
|
25 |
|
|
#else
|
26 |
|
|
# include <math.h>
|
27 |
|
|
#endif
|
28 |
|
|
|
29 |
|
|
#endif /* _TCLMATH */
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
/* $History: tclmath.h $
|
33 |
|
|
*
|
34 |
|
|
* ***************** Version 1 *****************
|
35 |
|
|
* User: Dtashley Date: 1/02/01 Time: 1:32a
|
36 |
|
|
* Created in $/IjuScripter, IjuConsole/Source/Tcl Base
|
37 |
|
|
* Initial check-in.
|
38 |
|
|
*/
|
39 |
|
|
|
40 |
|
|
/* End of TCLMATH.H */ |