Java Reference
In-Depth Information
1
y
y
xx
=
The laws of exponents apply to the arguments,therefore:
1
y
x
=
y
x
The method has a long list of special cases.
1. If the second argument is positive or negative zero,then the result is 1.0.
2. If the second argument is 1.0,then the result is the same as the first argu -
ment.
3. If the second argument is NaN,then the result is NaN.
4. If the first argument is NaN and the second argument is nonzero,then the
result is NaN.
5. If the absolute value of the first argument is greater than 1 and the second
argument is positive infinity,or the absolute value of the first argument is
less than 1 and the second argument is negative infinity,then the result is
positive infinity.
6. If the absolute value of the first argument is greater than 1 and the second
argument is negative infinity,or the absolute value of the first argument is
less than 1 and the second argument is positive infinity,then the result is
positive zero.
7. If the absolute value of the first argument equals 1 and the second argument
is infinite,then the result is NaN.
8. If the first argument is positive zero and the second argument is greater
than zero,or the first argument is positive infinity and the second argument
is less than zero,then the result is positive zero.
9. If the first argument is positive zero and the second argument is less than
zero,or the first argument is positive infinity and the second argument is
greater than zero,then the result is positive infinity.
10. If the first argument is negative zero and the second argument is greater
than zero,but not a finite odd integer,or the first argument is negative infin -
ity and the second argument is less than zero but not a finite odd integer,
then the result is positive zero.
11. If the first argument is negative zero and the second argument is a positive
finite odd integer,or the first argument is negative infinity and the second
argument is a negative finite odd integer,then the result is negative zero.
 
Search WWH ::




Custom Search