public class FloatingPointImpl extends RealImpl implements FloatingPoint
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
int |
getExponentBits() |
int |
getMantissaBits() |
Overflow |
getOverflow() |
Rounding |
getRounding() |
void |
setExponentBits(int newExponentBits) |
void |
setMantissaBits(int newMantissaBits) |
void |
setOverflow(Overflow newOverflow) |
void |
setRounding(Rounding newRounding) |
String |
toString() |
basicGetBase_DataType, getBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimum
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimum
public Overflow getOverflow()
getOverflow
in interface FloatingPoint
Overflow
,
FloatingPoint.setOverflow(Overflow)
,
OCLforUMLPackage.getFloatingPoint_Overflow()
public void setOverflow(Overflow newOverflow)
setOverflow
in interface FloatingPoint
newOverflow
- the new value of the 'Overflow' attribute.Overflow
,
FloatingPoint.getOverflow()
public Rounding getRounding()
getRounding
in interface FloatingPoint
Rounding
,
FloatingPoint.setRounding(Rounding)
,
OCLforUMLPackage.getFloatingPoint_Rounding()
public void setRounding(Rounding newRounding)
setRounding
in interface FloatingPoint
newRounding
- the new value of the 'Rounding' attribute.Rounding
,
FloatingPoint.getRounding()
public int getExponentBits()
getExponentBits
in interface FloatingPoint
FloatingPoint.setExponentBits(int)
,
OCLforUMLPackage.getFloatingPoint_ExponentBits()
public void setExponentBits(int newExponentBits)
setExponentBits
in interface FloatingPoint
newExponentBits
- the new value of the 'Exponent Bits' attribute.FloatingPoint.getExponentBits()
public int getMantissaBits()
getMantissaBits
in interface FloatingPoint
FloatingPoint.setMantissaBits(int)
,
OCLforUMLPackage.getFloatingPoint_MantissaBits()
public void setMantissaBits(int newMantissaBits)
setMantissaBits
in interface FloatingPoint
newMantissaBits
- the new value of the 'Mantissa Bits' attribute.FloatingPoint.getMantissaBits()
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.