1 |
/* $Header$ */
|
2 |
/*
|
3 |
* tclMath.h --
|
4 |
*
|
5 |
* This file is necessary because of Metrowerks CodeWarrior Pro 1
|
6 |
* on the Macintosh. With 8-byte doubles turned on, the definitions of
|
7 |
* sin, cos, acos, etc., are screwed up. They are fine as long as
|
8 |
* they are used as function calls, but if the function pointers
|
9 |
* are passed around and used, they will crash hard on the 68K.
|
10 |
*
|
11 |
* Copyright (c) 1997 Sun Microsystems, Inc.
|
12 |
*
|
13 |
* See the file "license.terms" for information on usage and redistribution
|
14 |
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
15 |
*
|
16 |
* RCS: @(#) $Id: tclmath.h,v 1.1.1.1 2001/06/13 04:42:57 dtashley Exp $
|
17 |
*/
|
18 |
|
19 |
#ifndef _TCLMATH
|
20 |
#define _TCLMATH
|
21 |
|
22 |
#if defined(MAC_TCL)
|
23 |
# include "tclMacMath.h"
|
24 |
#else
|
25 |
# include <math.h>
|
26 |
#endif
|
27 |
|
28 |
#endif /* _TCLMATH */
|
29 |
|
30 |
/* End of tclmath.h */
|