20.11
java.lang.Math
THE PACKAGE JAVA.LANG
20.11.14
public static double IEEEremainder(double x, double y)
This method computes the remainder operation on two arguments as prescribed
by the IEEE 754 standard: the remainder value is mathematically equal to
x
y
n
 where
n
 is the mathematical integer closest to the exact mathematical
value of the quotient
x
y
; if two mathematical integers are equally close to
x
y
then
n
 is the integer that is even. If the remainder is zero, its sign is the same as the
sign of the first argument.
Special cases:
If either argument is NaN, or the first argument is infinite, or the second argu 
ment is positive zero or negative zero, then the result is NaN.
If the first argument is finite and the second argument is infinite, then the
result is the same as the first argument.
20.11.15
public static double ceil(double a)
The result is the smallest (closest to negative infinity)
double
 value that is not less
than the argument and is equal to a mathematical integer.
Special cases:
If the argument value is already equal to a mathematical integer, then the
result is the same as the argument.
If the argument is NaN or an infinity or positive zero or negative zero, then the
result is the same as the argument.
If the argument value is less than zero but greater than
 1.0
, then the result is
negative zero.
Note that the value of
Math.ceil(x)
 is exactly the value of
 Math.floor( x)
.
20.11.16
public static double floor(double a)
The result is the largest (closest to positive infinity)
double
 value that is not
greater than the argument and is equal to a mathematical integer.
Special cases:
If the argument value is already equal to a mathematical integer, then the
result is the same as the argument.
If the argument is NaN or an infinity or positive zero or negative zero, then the
result is the same as the argument.
524






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved