HomeManualTopicsTypesSymbols

std::minus

subtract two numbers of any kind

Parameters

left
the left operand
right
the right operand

Result

diff
the difference of left and right

Description

The result is always stored in the simplest possible form.

Topic

Numbers

See also

std::negate negate the numeric argument
std::plus add two numbers of any kind
std::times multiply two numbers of any kind
std::over divide two numbers of any kind
std::div divide two integer numbers
std::mod compute the remainder of two integer numbers

Implemented by

std_types::character returns the *n*th-previous character
std_types::date_and_time subtracts a time delta or another date-and-time object from a date-and-time object
std_types::negative_integer implements the minus operation for negative integers
std_types::positive_integer implements the minus operation for positive integers
std_types::real implements the minus operation for real numbers