MCPcopy Create free account
hub / github.com/fmtlib/fmt / double_double

Method double_double

test/format-impl-test.cc:284–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 double b;
283
284 constexpr explicit double_double(double a_val = 0, double b_val = 0)
285 : a(a_val), b(b_val) {}
286
287 operator double() const { return a + b; }
288 auto operator-() const -> double_double { return double_double(-a, -b); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected