A system and method for detecting decimal floating point data processing exceptions. A processor accepts at least one decimal floating point operand and performs a decimal floating point operation on the at least one decimal floating point operand to produce a decimal floating point result. A determination is made as to whether the decimal floating point result fails to maintain a preferred quantum. The preferred quantum indicates a value represented by a least significant digit of a significand of the decimal floating point result. An output is provided, in response to the determining that the decimal floating point result fails to maintain the preferred quantum, indicating an occurrence of a quantum exception. A maskable exception can be generated that is immediately trapped or later detected to control conditional processing.
申请公布号
WO2011147483(A1)
申请公布日期
2011.12.01
申请号
WO2010EP67054
申请日期
2010.11.08
申请人
INTERNATIONAL BUSINESS MACHINES CORPORATION;SCHWARZ, ERIC, MARK;YEH, PHIL;COWLISHAW, MICHAEL, FREDERIC;MUELLER, SILVIA, MELITTA