Home   Manual   Type Index   Symbol Index   Topics Index

std::mod

compute the remainder of two integer numbers

Description

The result has the same sign as the dividend

See also

std::div   divide two integer numbers
std::times   multiply two numbers of any kind
std::over   divide two numbers of any kind
std::plus   add two numbers of any kind
std::minus   subtract two numbers of any kind