发明名称 Methods and apparatuses for converting floating point representations
摘要 A method and an apparatus that determine an addend in a first floating point format from a first representation of a number in the first floating point format are described. An arithmetic processing unit may be instructed to perform a floating point add operation to generate a sum in the first floating point format from the addend and the first representation. A second representation of the number in a second floating point format may be extracted directly from the sum. The first floating point format and the second floating point format may be based on different precisions for the first and second representation of the number.
申请公布号 US8745111(B2) 申请公布日期 2014.06.03
申请号 US20100947699 申请日期 2010.11.16
申请人 Apple Inc. 发明人 Ollmann Ian R.
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项 1. A logic for converting floating point formats having different precisions, the logic comprising: an addend generator logic to generate an addend in a first floating point format from a first number of the first floating point format, the first floating point format having a first precision, wherein the first number is represented via a plurality of bits, wherein the bits represent the first number based on the first floating point format, wherein the bits represent a first integer based on an unsigned integer format, the bits include a signed portion, an exponent portion and a mantissa portion for the first floating point format, the signed portion of the bits representing a second integer based on the unsigned integer format, the exponent portion of the bits representing a third integer based on the unsigned integer format, the mantissa portion of the bits representing a fourth integer based on the unsigned integer format, the first integer being equal to an arithmetic sum of the second integer, the third integer and the fourth integer, wherein the addend corresponds to a fifth integer based on the unsigned integer format, and wherein the fifth integer corresponds to a result of arithmetic operations on a representation of the third integer based on the unsigned format, the result being independent of the fourth integer; and an adder logic to perform a floating point add operation on the first number and the addend, the floating add operation to provide a sum in the first floating point format, the adder logic including a rounding scheme of the first precision, wherein the sum includes a second number of a second floating point format having a second precision, the second number representing a conversion of the first number from the first floating point format to the second floating point format.
地址 Cupertino CA US
您可能感兴趣的专利