home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
cbm
/
os-include.lha
/
os-include
/
libraries
/
mathieeesp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-15
|
2KB
|
80 lines
#ifndef LIBRARIES_MATHIEEESP_H
#define LIBRARIES_MATHIEEESP_H
/*
** $VER: mathieeesp.h 1.1 (13.7.90)
** Includes Release 40.15
**
** Include file to use for <math.h>
**
**
** (C) Copyright 1987-1993 Commodore-Amiga, Inc.
** All Rights Reserved
*/
#ifndef PI
#define PI ((float) 3.141592653589793))
#endif
#define TWO_PI (((float) 2) * PI)
#define PI2 (PI/((float)2))
#define PI4 (PI/((float)4))
#ifndef E
#define E ((float) 2.718281828459045)
#endif
#define LOG10 ((float) 2.302585092994046)
#define FPTEN ((float) 10.0)
#define FPONE ((float) 1.0)
#define FPHALF ((float) 0.5)
#define FPZERO ((float) 0.0)
#define trunc(x) ((int) (x))
#define round(x) ((int) ((x) + 0.5))
#define itof(i) ((float) (i))
#define fabs IEEESPAbs
#define floor IEEESPFloor
#define ceil IEEESPCeil
#define tan IEEESPTan
#define atan IEEESPAtan
#define cos IEEESPCos
#define acos IEEESPAcos
#define sin IEEESPSin
#define asin IEEESPAsin
#define exp IEEESPExp
#define pow(a,b) IEEESPPow((b),(a))
#define log IEEESPLog
#define log10 IEEESPLog10
#define sqrt IEEESPSqrt
#define sinh IEEESPSinh
#define cosh IEEESPCosh
#define tanh IEEESPTanh
float IEEESPTan(),IEEESPAtan();
float IEEESPCos(),IEEESPACos();
float IEEESPSin(),IEEESPASin();
float IEEESPExp(),IEEESPLog();
float IEEESPSqrt();
float IEEESPLog10(),IEEESPPow();
float IEEESPSincos();
float IEEESPSinh(),IEEESPCosh(),IEEESPTanh();
float IEEESPTieee();
float IEEESPFieee();
int IEEESPFix();
int IEEESPCmp(),IEEESPTst();
float IEEESPFlt();
float IEEESPAbs();
float IEEESPNeg();
float IEEESPAdd();
float IEEESPSub();
float IEEESPMul();
float IEEESPDiv();
float IEEESPFloor();
float IEEESPCeil();
#endif /* LIBRARIES_MATHIEEESP_H */