Implementing decimal floating-point arithmetic through binary: some suggestions

Abstract : We propose several algorithms and provide some related results that make it possible to implement decimal floating-point arithmetic on a processor that does not have decimal operators, using the available binary floating-point functions. In this preliminary study, we focus on round-to-nearest mode only. We show that several functions in decimal32 and decimal64 arithmetic can be implemented using binary64 and binary128 floating-point arithmetic, respectively. Specifically, we discuss the decimal square root and some transcendental functions. We also consider radix conversion algorithms.
Document type :
Conference papers
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download

https://hal-ens-lyon.archives-ouvertes.fr/ensl-00463353
Contributor : Jean-Michel Muller <>
Submitted on : Tuesday, December 21, 2010 - 10:33:18 AM
Last modification on : Thursday, February 7, 2019 - 3:45:24 PM
Long-term archiving on : Friday, December 2, 2016 - 5:05:31 PM

File

Brisebarreetal2010.pdf
Publisher files allowed on an open archive

Identifiers

  • HAL Id : ensl-00463353, version 2

Collections

Citation

Nicolas Brisebarre, Milos Ercegovac, Nicolas Louvet, Erik Martin-Dorel, Jean-Michel Muller, et al.. Implementing decimal floating-point arithmetic through binary: some suggestions. 21st IEEE International Conference on Application-specific Systems, Architectures and Processors (ASAP'2010), Jul 2010, Rennes, France. pp.317-320. ⟨ensl-00463353v2⟩

Share

Metrics

Record views

354

Files downloads

203