org.problets.domain.model.datatype
Class CFloat
java.lang.Object
org.problets.domain.model.DomainModel
org.problets.domain.model.datatype.Value
org.problets.domain.model.datatype.CReal
org.problets.domain.model.datatype.CFloat
- All Implemented Interfaces:
- java.lang.Cloneable
public class CFloat
- extends CReal
- implements java.lang.Cloneable
CFloat
Class to wrap C++ float values
- Author:
- Amruth Kumar
Fields inherited from class org.problets.domain.model.DomainModel |
BOOLEAN, BREAKPOINT, CHARACTER, DOUBLE_PRECISION_REAL, ERROR_TYPE, EVAL_STATUS, expACTION, expASSIGNMENT, expAUTO_DEALLOCATION, expCALL, expCONDITION, expDECLARATION, expDEREFERENCING, expDYNAMIC_ALLOCATION, expDYNAMIC_ALLOCATION_INITIALIZATION, expDYNAMIC_DEALLOCATION, expELSE_CLAUSE, expERROR, expEXECUTION, expIF_CLAUSE, expINITIALIZATION, expINPUT, expPARAMETER_PASSING, expPRINT, expQUESTIONABLE, expREFERENCING, expRETURN, expRUNTIME_ERROR, expSEMANTIC_ERROR, expSYNTAX_ERROR, expUPDATE, MAX_OBJECT_IDENTITY, MIN_OBJECT_IDENTITY, QUADRUPLE_PRECISION_REAL, RUNTIME_ERROR, SEMANTIC_ERROR, SIGNED_INTEGER, SIGNED_LONG, SIGNED_SHORT, SINGLE_PRECISION_REAL, SYNTAX_ERROR, UNDEFINED_TYPE, UNSIGNED_INTEGER, UNSIGNED_LONG, UNSIGNED_SHORT, WARNING |
Constructor Summary |
CFloat(float inValue)
|
CFloat(java.lang.String inValue)
|
Method Summary |
java.lang.Object |
clone()
Returns a clone of this object |
static java.lang.String |
getRandomValue()
Returns a random float value |
Methods inherited from class org.problets.domain.model.datatype.Value |
compatible, equals, getCorrectValue, getCorrectValue, getCorrectValue, getMetaDataType, getValue, print, setValue, setValue, setValue, setValue, setValue, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINIMUM
public static final double MINIMUM
- See Also:
- Constant Field Values
MAXIMUM
public static final double MAXIMUM
- See Also:
- Constant Field Values
PRECISION
public static final int PRECISION
- See Also:
- Constant Field Values
EPSILON_STRING
public static final java.lang.String EPSILON_STRING
- See Also:
- Constant Field Values
METADATATYPE
public static final int METADATATYPE
- See Also:
- Constant Field Values
CFloat
public CFloat(java.lang.String inValue)
CFloat
public CFloat(float inValue)
clone
public java.lang.Object clone()
- Returns a clone of this object
- Overrides:
clone
in class DomainModel
getRandomValue
public static java.lang.String getRandomValue()
- Returns a random float value