Initial version
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@790 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -0,0 +1,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 */
|
||||
Reference in New Issue
Block a user