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

Function has_implicit_bit

include/fmt/format.h:1527–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1525
1526// Returns true iff Float has the implicit bit which is not stored.
1527template <typename Float> constexpr auto has_implicit_bit() -> bool {
1528 // An 80-bit FP number has a 64-bit significand an no implicit bit.
1529 return std::numeric_limits<Float>::digits != 64;
1530}
1531
1532// Returns the number of significand bits stored in Float. The implicit bit is
1533// not counted since it is not stored.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected