home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 21
/
CD_ASCQ_21_040595.iso
/
dos
/
prg
/
c
/
bc4l11
/
math2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-07
|
833b
|
35 lines
extern float sinof[360],cosof[360]; /* lookup tables for sin & cos */
#ifdef __cplusplus
extern "C" {
#endif
long dist2d(long x1, long y1, long x2, long y2);
long round(float f);
int headingto(long x1, long y1, long x2, long y2);
int markvalue(long x1, long y1, long z1, long x2, long y2, long z2);
long dist3d(long x1, long y1, long z1, long x2, long y2, long z2);
void i2s(long i,char *s);
int s2i(char *s);
void l2s(long i,char *s);
long s2l(char *s);
int isin(int x, int y, int x1, int y1, int x2, int y2);
int dice(int i);
void ulim(int *i, int j);
void normalize(int *i);
void llim(int *i, int j);
void inittrigtables();
void f2s(float f,char *s); /* float 2 string, 20 digits */
void f2s2(float f,char *s); /* float 2 string, 2 decimal places */
#ifdef __cplusplus
}
#endif