void object::test<1>() { PrecisionModel pm; ensure(pm.isFloating()); ensure_equals(pm.getMaximumSignificantDigits(), 16); ensure_equals(pm.getScale(), 0); }
bool operator==(const PrecisionModel& a, const PrecisionModel& b) { return a.isFloating() == b.isFloating() && a.getScale() == b.getScale(); }