pi.h

./mudtem/src/include/pi.h · 207 B

From the archive mudtem.tar.gz

Download the archive   « Back to the archive contents

/* +++Date last modified: 05-Jul-1997 */

#ifndef PI__H
#define PI__H

#ifndef PI
 #define PI         (4*atan(1))
#endif

#define deg2rad(d) ((d)*PI/180)
#define rad2deg(r) ((r)*180/PI)

#endif /* PI__H */

Site Stats

Snippets: 1791
Codebases: 571