H (Hybrid) Language - v0.03, by Dr. Herong Yang
"real" "exponentiation" Operation
This section describes 'real' 'exponentiation' operation
The "real" "exponentiation" operation is provided through the real.exponent() function, which has the following syntax:
real.exponent(a, b) Parameters: a - First "real" data object b - Second non-negative "real" data object Return: Returns a new "real" data object representing resulting remainder of "a raised to power of b". Errors: Throws "realOverflow" error code, if the result is too "big" to be stored in a "real" data object. Throws "realUnderflow" error code, if the result is too "small" to be stored in a "real" data object.
The "real" "exponentiation" operation can be expressed in the "**" operator format:
a ** b; # alias of the following function call real.exponent(a, b);
Other aliases are supported too:
real.exp(a, b); # alias of the following function call real.exponent(a, b); real.pow(a, b); # alias of the following function call real.exponent(a, b);
Table of Contents
"real" "subtraction" Operation
"real" "multiplication" Operation
►"real" "exponentiation" Operation
"real" "greater-than" Operation
"real" "not-equal-to" Operation
"real" "greater-than-or-equal-to" Operation
"real" "less-than-or-equal-to" Operation
Inheritance - Object Attachments