Class NumericValue
java.lang.Object
java.lang.Number
io.github.ocelot.glslprocessor.lib.anarres.cpp.NumericValue
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
F_UNSIGNED
public static final int F_UNSIGNED- See Also:
-
F_INT
public static final int F_INT- See Also:
-
F_LONG
public static final int F_LONG- See Also:
-
F_LONGLONG
public static final int F_LONGLONG- See Also:
-
F_FLOAT
public static final int F_FLOAT- See Also:
-
F_DOUBLE
public static final int F_DOUBLE- See Also:
-
FF_SIZE
public static final int FF_SIZE- See Also:
-
-
Constructor Details
-
NumericValue
-
-
Method Details
-
getBase
public int getBase() -
getIntegerPart
-
getFractionalPart
-
getExponent
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
toString
-