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