public abstract class FloatConstant
extends java.lang.Object
Basic constants for type float
.
Implemented as functions returning constant values (for multi-language portability).
Constructor and Description |
---|
FloatConstant() |
Modifier and Type | Method and Description |
---|---|
static float |
nan()
Return naN (not-a-number) for type
float . |
static float |
negativeInfinity()
Return negative infinity for type
float . |
static float |
positiveInfinity()
Return positive infinity for type
float . |
public static float nan()
Return naN (not-a-number) for type float
.
float
.public static float negativeInfinity()
Return negative infinity for type float
.
float
.public static float positiveInfinity()
Return positive infinity for type float
.
float
.