The Community for Technology Leaders
Green Image
Issue No. 08 - Aug. (2012 vol. 61)
ISSN: 0018-9340
pp: 1084-1096
Abhilasha Aswal , International Institute of Information Technology, Bangalore and Infosys Limited, Bangalore
M. Ganesh Perumal , International Institute of Information Technology, Bangalore and Infosys Limited, Bangalore
G.N. Srinivasa Prasanna , International Institute of Information Technology, Bangalore
ABSTRACT
Financial transactions are specified in decimal arithmetic. Until the introduction of IEEE 754-2008, specialized software/hardware routines were used to perform these transactions but it incurred a penalty on performance. In this paper, we show that if binary arithmetic is used to emulate decimal operations, then arbitrary error sequences can be generated by carefully chosen sequences of transactions which can lead to monotonically increasing/decreasing capitalization errors. In addition, we describe methods for correctly performing basic decimal operations, such as addition, subtraction, multiplication, and division, on binary machines, which are not conformant with IEEE 754-2008 decimal floating point standard (ISO/IEC/IEEE 60559:2011), at high speed.
INDEX TERMS
Floating-point arithmetic, IEEE 754 standards, computer arithmetic.
CITATION
Abhilasha Aswal, M. Ganesh Perumal, G.N. Srinivasa Prasanna, "On Basic Financial Decimal Operations on Binary Machines", IEEE Transactions on Computers, vol. 61, no. , pp. 1084-1096, Aug. 2012, doi:10.1109/TC.2012.89
204 ms
(Ver 3.3 (11022016))