source: buchla-68k/orig/LATTICE/PI.H@ 0170798

Last change on this file since 0170798 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 685 bytes
RevLine 
[3ae31e9]1/*
2 =============================================================================
3 pi.h -- definitions of PI, PI/2, PI/4, 1/PI, 1/(PI/2)
4 Version 1 -- 1989-03-21 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#ifndef PI
9#define PI 3.14159265358979323846 /* PI itself */
10#endif
11
12#ifndef PID2
13#define PID2 1.57079632679489661923 /* PI divided by 2 */
14#endif
15
16#ifndef PID4
17#define PID4 0.78539816339744830962 /* PI divided by 4 */
18#endif
19
20#ifndef I_PI
21#define I_PI 0.31830988618379067154 /* Inverse of PI */
22#endif
23
24#ifndef I_PID2
25#define I_PID2 0.63661977236758134308 /* Inverse of PID2 */
26#endif
Note: See TracBrowser for help on using the repository browser.