H (Hybrid) Language - v0.03, by Dr. Herong Yang
"integer" "absolute" Operation
This section describes 'integer' 'absolute' operation
The "integer" "absolute" operation is provided through the integer.absolute() function, which has the following syntax:
integer.absolute(a) Parameters: a - An "integer" data object Return: Returns a new "integer" data object representing "a" with its sign removed.
The "integer" "absolute" operation can be expressed in the "| x |" operator format:
| a |; # alias of the following function call integer.absolute(a);
May be other aliases should be supported too:
integer.abs(a); # alias of the following function call integer.absolute(a);
Table of Contents
Constructor Function: integer()
"integer" "addition" Operation
"integer" "subtraction" Operation
"integer" "multiplication" Operation
"integer" "division" Operation
"integer" "exponentiation" Operation
"integer" "negation" Operation
►"integer" "absolute" Operation
"integer" "greater-than" Operation
"integer" "less-than" Operation
"integer" "equal-to" Operation
"integer" "not-equal-to" Operation
"integer" "greater-than-or-equal-to" Operation
"integer" "less-than-or-equal-to" Operation
Inheritance - Object Attachments