public interface FloatingPoint extends Real
The following features are supported:
OCLforUMLPackage.getFloatingPoint()| Modifier and Type | Method and Description |
|---|---|
int |
getExponentBits()
Returns the value of the 'Exponent Bits' attribute.
|
int |
getMantissaBits()
Returns the value of the 'Mantissa Bits' attribute.
|
Overflow |
getOverflow()
Returns the value of the 'Overflow' attribute.
|
Rounding |
getRounding()
Returns the value of the 'Rounding' attribute.
|
void |
setExponentBits(int value)
Sets the value of the '
Exponent Bits' attribute. |
void |
setMantissaBits(int value)
Sets the value of the '
Mantissa Bits' attribute. |
void |
setOverflow(Overflow value)
Sets the value of the '
Overflow' attribute. |
void |
setRounding(Rounding value)
Sets the value of the '
Rounding' attribute. |
getBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimumOverflow getOverflow()
"invalid".
The literals are from the enumeration Overflow.
The behavior when a maximum/minimum value is exceeded.
Overflow,
setOverflow(Overflow),
OCLforUMLPackage.getFloatingPoint_Overflow()void setOverflow(Overflow value)
Overflow' attribute.
value - the new value of the 'Overflow' attribute.Overflow,
getOverflow()Rounding getRounding()
"nearest".
The literals are from the enumeration Rounding.
The behavior when there is insufficient resolution.
Rounding,
setRounding(Rounding),
OCLforUMLPackage.getFloatingPoint_Rounding()void setRounding(Rounding value)
Rounding' attribute.
value - the new value of the 'Rounding' attribute.Rounding,
getRounding()int getExponentBits()
setExponentBits(int),
OCLforUMLPackage.getFloatingPoint_ExponentBits()void setExponentBits(int value)
Exponent Bits' attribute.
value - the new value of the 'Exponent Bits' attribute.getExponentBits()int getMantissaBits()
setMantissaBits(int),
OCLforUMLPackage.getFloatingPoint_MantissaBits()void setMantissaBits(int value)
Mantissa Bits' attribute.
value - the new value of the 'Mantissa Bits' attribute.getMantissaBits()Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.