Bsoft  1.9
Bernard's software package
 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);
double bcos(double x)
Avoid non-zero values for cos(PI/2) and cos(-PI/2).
double bsin(double x)
Avoid non-zero values for sin(PI) and sin(-PI).
double btan(double x)
Avoid non-zero values for tan(PI) and tan(-PI). ATTENTION: tan function return a bigg value for tan(P...
double batan2(double y, double x)
Sets small values to zero before calling atan2.
double basin(double x)
Wrapper to avoid NaN's returned from asin.
double bacos(double x)
Wrapper to avoid NaN's returned from acos.