mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]

Utilities for determining machine precision

Functions

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

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 28 of file precision.hpp.