Isis 3 Programmer Reference
Constants.h
1 #ifndef Constants_h
2 #define Constants_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <string>
11 
12 namespace Isis {
39  const double E = 2.7182818284590452354;
40  const double PI = 3.14159265358979323846;
41  const double HALFPI = 1.57079632679489661923;
42  const double TWOPI = 6.2831853071795864769253;
43  const double DEG2RAD = 0.017453292519943295769237;
44  const double RAD2DEG = 57.29577951308232087679815481;
45 
46 #if (defined(__SunOS__) || defined(__x86_64))
47  typedef long int BigInt;
48 #else
49  typedef long long int BigInt;
50 #endif
51 }
52 
53 #endif
Isis::HALFPI
const double HALFPI
The mathematical constant PI/2.
Definition: Constants.h:41
Isis::PI
const double PI
The mathematical constant PI.
Definition: Constants.h:40
Isis::DEG2RAD
const double DEG2RAD
Multiplier for converting from degrees to radians.
Definition: Constants.h:43
Isis::TWOPI
const double TWOPI
Two * PI, a complete revolution.
Definition: Constants.h:42
Isis::BigInt
long long int BigInt
Big int.
Definition: Constants.h:49
Isis::E
const double E
Sets some basic constants for use in ISIS programming.
Definition: Constants.h:39
Isis::RAD2DEG
const double RAD2DEG
Multiplier for converting from radians to degrees.
Definition: Constants.h:44
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16