PrevUpHomeNext

.quo method


Determinism and randomism.

.quo member function of esv::class_type

esv::class_type::quo

Method .quo of esv::class_type is used to get the quotient of a value when calculating modulus value. It does not equal to division result.

Positive/Negative flag rules, a % b :

c++ example

#include <esvcpp/core.hpp>

int main()
{
	esv::fx32 a = 33.3;
	esv::print(a.quo(12);	// 3.0
}

See Also

.quo_mod method

.mod method

esv::fx32

esv::print


PrevUpHomeNext

E