|
realroot_doc 0.1.1
|
#include <system_epsilon.hpp>
Definition at line 19 of file system_epsilon.hpp.
| static T _init_ | ( | const true_t & | ) | [inline, static] |
Definition at line 21 of file system_epsilon.hpp.
{
volatile T half(0.5), curr(1.0), one(1.0), prev, eps(1.0);
do
{
prev = curr;
eps *= half;
curr = one+eps;
}
while ((curr!=1.0)&&(curr!=prev));
return eps;
};
| static T _init_ | ( | ) | [inline, static] |
Definition at line 33 of file system_epsilon.hpp.
References epsilon< T >::_init_().
Referenced by epsilon< T >::_init_().
{ return _init_(typename inexact< typename LongVersion<T>::result_t >::result_t()); };
| static T _init_ | ( | const false_t & | ) | [inline, static] |
Definition at line 32 of file system_epsilon.hpp.
{ return T(0); };
Definition at line 20 of file system_epsilon.hpp.