BigFixed.opEquals

Implements BigFixed equality test

struct BigFixed
const pure @nogc
bool
opEquals
()
(
auto ref const BigFixed y
)

Examples

auto x = BigFixed(1, 10) / 2;
auto y = BigFixed(5, 10) / 2;
assert(x == x);
assert(x != y);
assert((x + 2) == y);

Meta