OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [generic/] [tclMath.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.