| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
trigonometry.h
Go to the documentation of this file.
1
9 #define TRIGPRECISION 1e-14
10
11 // Function prototypes
12 double bcos (double x);
13 double bsin (double x);
14 double btan (double x);
15 double bacos(double x);
16 double basin(double x);
17 double batan2 (double y, double x);
bcos
double bcos(double x)
Avoid non-zero values for cos(PI/2) and cos(-PI/2).
Definition: trigonometry.cpp:27
bsin
double bsin(double x)
Avoid non-zero values for sin(PI) and sin(-PI).
Definition: trigonometry.cpp:48
btan
double btan(double x)
Avoid non-zero values for tan(PI) and tan(-PI). ATTENTION: tan function return a bigg value for tan(P...
Definition: trigonometry.cpp:71
batan2
double batan2(double y, double x)
Sets small values to zero before calling atan2.
Definition: trigonometry.cpp:122
basin
double basin(double x)
Wrapper to avoid NaN's returned from asin.
Definition: trigonometry.cpp:105
bacos
double bacos(double x)
Wrapper to avoid NaN's returned from acos.
Definition: trigonometry.cpp:89