home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
161_01
/
mathlib.c
< prev
next >
Wrap
C/C++ Source or Header
|
1985-08-29
|
338b
|
14 lines
#include "timer1.h"
#include <math.h>
double x=.5, y=.5, z=.25;
DO_FEXPR("atan(x)") atan(x) OD
DO_FEXPR("cos(x)") cos(x) OD
DO_FEXPR("exp(x)") exp(x) OD
DO_FEXPR("log(x)") log(x) OD
DO_FEXPR("log10(x)") log10(x) OD
DO_FEXPR("pow(x, y)") pow(x, y) OD
DO_FEXPR("sin(x)") sin(x) OD
DO_FEXPR("sqrt(x)") sqrt(x) OD
}