Loading [MathJax]/extensions/tex2jax.js
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages

Utilities for determining machine precision

Functions

template<typename T >
mx::math::func::root_epsilon ()
 Get the sqrt(epsilon) where epsilon is machine precision.
 

Function Documentation

◆ root_epsilon()

template<typename T >
T mx::math::func::root_epsilon ( )

Get the sqrt(epsilon) where epsilon is machine precision.

Wrapper for boost function

Todo:
this isn't, but should be constexpr – need constr sqrt.

Definition at line 27 of file precision.hpp.