Searched refs:abs_err (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/numeric/odeint/examples/ |
D | harmonic_oscillator.cpp | 167 double abs_err = 1.0e-10 , rel_err = 1.0e-6 , a_x = 1.0 , a_dxdt = 1.0; in main() local 169 …default_error_checker< double , range_algebra , default_operations >( abs_err , rel_err , a_x , a_… in main()
|
/third_party/boost/libs/numeric/odeint/examples/quadmath/ |
D | black_hole.cpp | 133 my_float abs_err = strtoflt128( "1.0E-15" , NULL ) , rel_err = strtoflt128( "1.0E-10" , NULL ); in main() local 140 …_type dopri5( controlled_dopri5_type( default_error_checker< my_float >( abs_err , rel_err , a_x ,… in main()
|
/third_party/boost/boost/math/special_functions/ |
D | owens_t.hpp | 563 T abs_err; in owens_t_T1_accelerated() local 598 abs_err = ldexp(fabs(sum), -tools::digits<T>()); in owens_t_T1_accelerated() 608 abs_err += ldexp((std::max)(T(fabs(sum)), T(fabs(c*term))), -tools::digits<T>()); in owens_t_T1_accelerated() 617 abs_err += fabs(c * term); in owens_t_T1_accelerated() 620 return std::pair<T, T>((sum / d) / boost::math::constants::two_pi<T>(), abs_err / sum); in owens_t_T1_accelerated()
|
/third_party/python/Lib/test/ |
D | test_cmath.py | 101 def rAssertAlmostEqual(self, a, b, rel_err = 2e-15, abs_err = 5e-323, argument 146 if absolute_error <= max(abs_err, rel_err * abs(a)): 416 abs_err=real_abs_err,
|
D | test_statistics.py | 76 abs_err = abs(actual - expected) 77 rel_err = abs_err/base if base else float('inf') 78 return (abs_err, rel_err) 286 abs_err, rel_err = _calc_errors(first, second) 287 return template % (first, second, tol, rel, abs_err, rel_err) 653 abs_err, rel_err = _calc_errors(first, second) 657 'absolute error = %r' % abs_err,
|