CMS 3D CMS Logo

Namespaces | Functions | Variables
FastMath.h File Reference
#include <cmath>
#include <utility>

Go to the source code of this file.

Namespaces

 fastmath
 
 fastmath_details
 

Functions

std::pair< float, float > fastmath::atan2r (float y_, float x_, bool overR=false)
 
std::pair< double, double > fastmath::atan2r (double y_, double x_, bool overR=false)
 
template<typename T >
std::pair< T, Tfastmath::etaphi (T x, T y, T z)
 
float fastmath::invSqrt (float in)
 
double fastmath::invSqrt (double in)
 

Variables

const double fastmath_details::_2pi = (2.0 * 3.1415926535897932384626434)
 
const float fastmath_details::_2pif = float(_2pi)
 
float fastmath_details::atanbuf_ [257 *2]
 
double fastmath_details::datanbuf_ [513 *2]