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

Function write

extras/catch_amalgamated.cpp:8763–8767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8761
8762template <typename FloatingPoint>
8763void write(std::ostream& out, FloatingPoint num) {
8764 out << std::scientific
8765 << std::setprecision(std::numeric_limits<FloatingPoint>::max_digits10 - 1)
8766 << num;
8767}
8768
8769} // end anonymous namespace
8770

Callers 1

describeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected