-
公开(公告)号:CA2800643C
公开(公告)日:2018-11-20
申请号:CA2800643
申请日:2010-11-08
Applicant: IBM
Inventor: SCHWARZ ERIC MARK , YEH PHIL , COWLISHAW MICHAEL FREDERIC , MUELLER SILVIA MELITTA
Abstract: 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.
-
公开(公告)号:ES2637205T3
公开(公告)日:2017-10-11
申请号:ES10775821
申请日:2010-11-08
Applicant: IBM
Inventor: SCHWARZ ERIC MARK , YEH PHIL , COWLISHAW MICHAEL FREDERIC , MUELLER SILVIA MELITTA
Abstract: Un método para detectar excepciones cuánticas decimales de coma flotante, comprendiendo el método los pasos de aceptar al menos un operando decimal (102, 104) de coma flotante; obtener (202) una instrucción de máquina que contiene una instrucción para una operación decimal de coma flotante; y caracterizado por: ejecutar la instrucción de máquina que comprende: determinar (208) la cuantía preferida basada en al menos un operando decimal de coma flotante, indicando la cuantía preferida un valor definido representado por un dígito menos significativo de un significando del resultado decimal de coma flotante; realizar (210) una operación decimal de coma flotante en al menos un operando decimal de coma flotante para producir un resultado decimal de coma flotante; determinar, en respuesta a un campo de control en la instrucción de máquina, que la cuantía del resultado decimal de coma flotante es diferente de la cuantía preferida; y proporcionar, en respuesta al paso de determinar que la cuantía del resultado decimal de coma flotante es diferente de la cuantía preferida, una salida que indica una excepción cuántica, ocurriendo la excepción cuántica solamente en respuesta a la cuantía del resultado decimal de coma flotante que es diferente de la cuantía preferida.
-
公开(公告)号:GB2527125A
公开(公告)日:2015-12-16
申请号:GB201410591
申请日:2014-06-13
Applicant: IBM
Inventor: SCHELM KERSTIN , MUELLER SILVIA MELITTA , NIEKISCH MANUELA , KROENER MICHAEL
Abstract: A method for performing an arithmetic operation in a data processing unit, including calculating a number of iterations 10 for performing the arithmetic operation with a given number of bits per iteration 12, wherein the number of bits per iteration 12 is a positive natural number; the method comprises counting a number of consecutive digit positions 32 of a digit in a sequence of bits 16 represented in the data processing unit, wherein the length of the sequence 16 is a multiple of the number of bits per iteration 12; and calculating a quotient of the number of consecutive digit positions 32 divided by the number of bits per iteration 12, as well as calculating a remainder of the division. The invention further relates to a data processing unit as well as a data processing system for execution of a data processing program comprising software code portions for performing said method.
-
公开(公告)号:SG185620A1
公开(公告)日:2012-12-28
申请号:SG2012084539
申请日:2010-11-08
Applicant: IBM
Inventor: SCHWARZ ERIC MARK , YEH PHIL , COWLISHAW MICHAEL FREDERIC , MUELLER SILVIA MELITTA
Abstract: 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.
-
公开(公告)号:AU2010353843A1
公开(公告)日:2012-12-20
申请号:AU2010353843
申请日:2010-11-08
Applicant: IBM
Inventor: SCHWARZ ERIC MARK , YEH PHIL , COWLISHAW MICHAEL FREDERIC , MUELLER SILVIA MELITTA
Abstract: 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.
-
-
-
-