 |
pow |
Function (ROM Call 0x103*) |
Floating point power function.
pow returns x^y, x to the y (i.e. x raised to the
y-th power).
Note: pow will return an infinite result (see POSITIVE_INF,
NEGATIVE_INF, UNSIGNED_INF)
in a case of overflow. If both x and y are zeros, pow will return 1.
If x is negative, the correct result will be produced only if y can
be represented as a whole number, or as a fraction with odd denominator; otherwise,
pow will return a garbage (not NAN) which sometimes even not
satisfy the floating point BCD format (digits greater than 9 etc.), so be careful in
a case when x is negative!
Uses: _bcd_math
Used by: cacos, casin, catan, push_pow, de_loop