- java.lang.Object
-
- swim.math.Precision
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bits()
int
bytes()
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static Precision
f16()
static Precision
f32()
static Precision
f64()
static Form<Precision>
form()
static Precision
fromBits(int bits)
int
hashCode()
boolean
isDefined()
boolean
isDouble()
boolean
isHalf()
boolean
isSingle()
Precision
max(Precision that)
Precision
min(Precision that)
String
toString()
Value
toValue()
static Precision
undefined()
-
-
-
Method Detail
-
isDefined
public boolean isDefined()
-
isHalf
public boolean isHalf()
-
isSingle
public boolean isSingle()
-
isDouble
public boolean isDouble()
-
bits
public int bits()
-
bytes
public int bytes()
-
toValue
public Value toValue()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
undefined
public static Precision undefined()
-
f16
public static Precision f16()
-
f32
public static Precision f32()
-
f64
public static Precision f64()
-
fromBits
public static Precision fromBits(int bits)
-
-