MCPcopy Create free account
hub / github.com/catchorg/Catch2 / Approx

Method Approx

extras/catch_amalgamated.cpp:566–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564namespace Catch {
565
566 Approx::Approx ( double value )
567 : m_epsilon( static_cast<double>(std::numeric_limits<float>::epsilon())*100. ),
568 m_margin( 0.0 ),
569 m_scale( 0.0 ),
570 m_value( value )
571 {}
572
573 Approx Approx::custom() {
574 return Approx( 0 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected