首页>
外国专利>
Method and apparatus for decimal number multiplication using hardware for binary number operations
Method and apparatus for decimal number multiplication using hardware for binary number operations
展开▼
机译:使用硬件进行二进制数运算的十进制数乘法的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
According to embodiments of the subject matter disclosed in this application, decimal floating-point multiplications and/or decimal fixed-point multiplications may be implemented using existing hardware for binary number operations. The implementation can be carried out in software, in hardware, or in a combination of software and hardware. Pre-calculated constants that are approximations to negative powers of 10 and stored in binary format may be used for rounding multiplication results to a designated precision by multiplying the results with a pre-calculated constant. Additionally, several parts of a decimal multiplication may be carried out in parallel. Furthermore, a simple comparison with a constant instead of an expensive remainder calculation may be used for midpoint detection and exactness determination.
展开▼