ROOT  6.06/09
Reference Guide
Namespaces | Functions | Variables
sincos.h File Reference
#include "vdtcore_common.h"
#include <cmath>
#include <limits>
+ Include dependency graph for sincos.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vdt
 
 vdt::details
 

Functions

double vdt::details::get_sin_px (const double x)
 
double vdt::details::get_cos_px (const double x)
 
double vdt::details::reduce2quadrant (double x, int32_t &quad)
 Reduce to 0 to 45. More...
 
void vdt::details::fast_sincos_m45_45 (const double z, double &s, double &c)
 Sincos only for -45deg < x < 45deg. More...
 
void vdt::fast_sincos (const double xx, double &s, double &c)
 Double precision sincos. More...
 
float vdt::details::reduce2quadrant (float x, int &quad)
 Reduce to 0 to 45. More...
 
void vdt::details::fast_sincosf_m45_45 (const float x, float &s, float &c)
 Sincos only for -45deg < x < 45deg. More...
 
void vdt::fast_sincosf (const float xx, float &s, float &c)
 Single precision sincos. More...
 

Variables

const double vdt::details::DP1sc = 7.85398125648498535156E-1
 
const double vdt::details::DP2sc = 3.77489470793079817668E-8
 
const double vdt::details::DP3sc = 2.69515142907905952645E-15
 
const double vdt::details::C1sin = 1.58962301576546568060E-10
 
const double vdt::details::C2sin =-2.50507477628578072866E-8
 
const double vdt::details::C3sin = 2.75573136213857245213E-6
 
const double vdt::details::C4sin =-1.98412698295895385996E-4
 
const double vdt::details::C5sin = 8.33333333332211858878E-3
 
const double vdt::details::C6sin =-1.66666666666666307295E-1
 
const double vdt::details::C1cos =-1.13585365213876817300E-11
 
const double vdt::details::C2cos = 2.08757008419747316778E-9
 
const double vdt::details::C3cos =-2.75573141792967388112E-7
 
const double vdt::details::C4cos = 2.48015872888517045348E-5
 
const double vdt::details::C5cos =-1.38888888888730564116E-3
 
const double vdt::details::C6cos = 4.16666666666665929218E-2
 
const double vdt::details::DP1 = 7.853981554508209228515625E-1
 
const double vdt::details::DP2 = 7.94662735614792836714E-9
 
const double vdt::details::DP3 = 3.06161699786838294307E-17
 
const float vdt::details::DP1F = 0.78515625
 
const float vdt::details::DP2F = 2.4187564849853515625e-4
 
const float vdt::details::DP3F = 3.77489497744594108e-8
 
const float vdt::details::T24M1 = 16777215.