发明授权
- 专利标题: Method and data processing system for arbitrary precision on numbers
- 专利标题(中): 数字任意精度的方法和数据处理系统
-
申请号: US267740申请日: 1994-06-29
-
公开(公告)号: US5619711A公开(公告)日: 1997-04-08
- 发明人: William C. Anderson
- 申请人: William C. Anderson
- 申请人地址: IL Schaumburg
- 专利权人: Motorola, Inc.
- 当前专利权人: Motorola, Inc.
- 当前专利权人地址: IL Schaumburg
- 主分类号: G06F7/57
- IPC分类号: G06F7/57 ; G06F9/30 ; G06F15/00
摘要:
A data processing system 10 comprises an arbitrary precision number C++ class program code 18, which incorporates arbitrary precision arithmetic. The arbitrary precision number program code 18 resides in a client program 14 and never lose bits of precision by maintaining an internal data structure 16, which holds the data, and by manipulating that data by operators and methods which the program code 18 defines. The program code 18, which is embedded in a client program 14, comprises a method that uses "lazy" storage allocation for transparent data management for the arbitrary precision number in the internal data array 22, a "lazy" arithmetic evaluation for avoiding more costly arithmetic operations, a width method for an optimized significant bit calculation, and a method for efficient determining the number of trailing zeros method for more efficient IEEE floating point math emulation operations.
公开/授权文献
信息查询