public final class UnsignedDouble extends Object
double.| Modifier and Type | Method | Description |
|---|---|---|
static double |
fromUnsignedInt(int x) |
|
static double |
fromUnsignedLong(long x) |
|
static double |
modulo(double x,
double y) |
Calculate the unsigned modulo
x % y. |
static int |
toUnsignedInt(double f) |
|
static long |
toUnsignedLong(double f) |
public static double fromUnsignedInt(int x)
x - An unsigned integer valuedoublepublic static int toUnsignedInt(double f)
f - A floating point valueintpublic static double fromUnsignedLong(long x)
x - An unsigned integer valuedoublepublic static long toUnsignedLong(double f)
f - A floating point valuelongpublic static double modulo(double x,
double y)
throws ArithmeticException
x % y.x - The dividendy - The divisorx % yArithmeticException - Iff y < 0Copyright © 2017 <code@io7m.com> http://io7m.com