HomeManualTopicsTypesSymbols

std_types::positive_integer/std::negate

returns a negative_integer or 0

Parameter

self: a positive integer value

Result

result: the negated integer value

Topic

Numbers

Implements

std::negate negate the numeric argument

See also

std_types::positive_integer the prototype object for all non-negative integers
std_types::integer the prototype object for all integral numbers