mp_units::remainder

Computes the IEEE remainder of the floating point division operation x / y.

Synopsis

Declared in <mp-units/math.h>
template<
    auto R1,
    typename Rep1,
    auto R2,
    typename Rep2>
requires requires(Rep1 v1, Rep2 v2) {
    get_common_reference(R1, R2);
    requires requires { remainder(v1, v2); } || requires { std::remainder(v1, v2); };
  }
[[nodiscard]]
constexpr
QuantityOf<get_quantity_spec(R1)> auto
remainder(
    quantity<R1, Rep1> const& x,
    quantity<R2, Rep2> const& y) noexcept;


Parameters

Name Description
x A quantity
y A quantity

Created with MrDocs