Determine the IEEE 754 remainder for various pairs of numbers.
System. |
The IEEEremainder() method calculates the remainder operation for two numbers according to the IEEE 754 standard.
The outcome of this method for two numbers a and b is equivalent to a – (b * Math.rint(a/b)).
public static double IEEEremainder(double dividend, double divisor) |
Parameter |
Description |
dividend |
Necessary: The dividend in the remainder operation |
divisor |
Necessary: The divisor in the remainder operation. |
Returns |
A double value that represents the outcome of the remainder operation performed on two numbers. |
Java Version |
Any |