-
公开(公告)号:JP2002305450A
公开(公告)日:2002-10-18
申请号:JP2002017981
申请日:2002-01-28
Applicant: IBM
Inventor: COWLISHAW MICHAEL FREDERIC
Abstract: PROBLEM TO BE SOLVED: To provide a method for converting a decimal digit into a binary digit. SOLUTION: In a system and a method for encoding a decimal number into a binary number or reversely, the coding is based on the Chen-Ho algorithm, where three decimal digits are represented as ten binary bits. When this encoding is employed, first three bits of a binary output are 0, if the preceding (most significant) decimal digit is 0. First six bits of a binary output are 0, if first two decimal digits are 0. Consequently, the same coding can be used flexibly, for coding two decimal digits into seven binary bits or for coding one decimal digit into four binary bits.
-
公开(公告)号:DE3466817D1
公开(公告)日:1987-11-19
申请号:DE3466817
申请日:1984-02-15
Inventor: COWLISHAW MICHAEL FREDERIC
Abstract: The colour of each picture element is defined by the intensities of component red, blue and green primaries. The element is coded as a binary number having r bits defining 2 to the power r intensity levels for red, g bits defining 2 to the power g levels for green, and b bits defining 2 to the power b levels for blue, g is less than or equal to 7, (g-r) = 1 or 2, and (g-b) = 2. Pref. the image has a resolution of 2 pels per mm or greater with g being less than or equal to 4. In a preferred arrangement g = 4 and r = b = 2. The g bits comprise the most significant bits of the binary number.
-
公开(公告)号:DK2430522T3
公开(公告)日:2017-09-11
申请号:DK10775821
申请日:2010-11-08
Applicant: IBM
Inventor: SCHWARZ ERIC MARK , YEH PHIL , COWLISHAW MICHAEL FREDERIC , MUELLER SILVIA MELITTA
-
公开(公告)号:AU2010353843B2
公开(公告)日:2014-08-28
申请号: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.
-
公开(公告)号:DE60131247T2
公开(公告)日:2008-08-28
申请号:DE60131247
申请日:2001-09-24
Applicant: IBM
Inventor: COWLISHAW MICHAEL FREDERIC
Abstract: A system and method are provided for encoding from decimal to binary and back again. The coding is based on representing 3 decimal digits as 10 binary bits and is a development of the Chen-Ho algorithm. This provides a storage efficiency of > 99%, yet still allows decimal arithmetic to be readily performed. The decimal input is typically first converted to binary coded decimal (4 bits per decimal digit), before compression to 10 bits. Adopting the encoding of the present invention, if the leading (most significant) decimal digit is zero, then the first three bits of the binary output are zero; and if the first two decimal digits are zero, then the first six bits of the binary output are zero. Accordingly, the same coding can be flexibly used to code 2 decimal digits to 7 binary bits, and 1 decimal digit to 4 binary bits. This makes it particularly suitable for standard computer architectures which are based on a power of two (16-bit, 32-bit, 64-bit, etc), and therefore not directly divisible by 7 or by 10.
-
公开(公告)号:AT377867T
公开(公告)日:2007-11-15
申请号:AT01308086
申请日:2001-09-24
Applicant: IBM
Inventor: COWLISHAW MICHAEL FREDERIC
Abstract: A system and method are provided for encoding from decimal to binary and back again. The coding is based on representing 3 decimal digits as 10 binary bits and is a development of the Chen-Ho algorithm. This provides a storage efficiency of > 99%, yet still allows decimal arithmetic to be readily performed. The decimal input is typically first converted to binary coded decimal (4 bits per decimal digit), before compression to 10 bits. Adopting the encoding of the present invention, if the leading (most significant) decimal digit is zero, then the first three bits of the binary output are zero; and if the first two decimal digits are zero, then the first six bits of the binary output are zero. Accordingly, the same coding can be flexibly used to code 2 decimal digits to 7 binary bits, and 1 decimal digit to 4 binary bits. This makes it particularly suitable for standard computer architectures which are based on a power of two (16-bit, 32-bit, 64-bit, etc), and therefore not directly divisible by 7 or by 10.
-
公开(公告)号: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.
-
公开(公告)号: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.
-
-
-
-
-
-
-
-
-