This Gitlab instance will require Two-Factor-Authentication from 2021-10-01. Read how to enable 2FA.

pi.h 219 Bytes
Newer Older
kuhnm's avatar
kuhnm committed
1 2 3 4 5 6 7 8 9 10 11 12 13
/* +++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 */