C++ Numerics, IEEE 754 and Boost C++ Multiprecision
This chapter gives an introduction to the IEEE 754 technical standard for floating‐point computation. Many hardware floating‐point units now support IEEE 754. The standard addresses the following topics: Arithmetic formats; special cases of finite numbers; interchange formats; operations; rounding r...
Gespeichert in:
| Veröffentlicht in: | Financial Instrument Pricing Using C++ S. 215 - 243 |
|---|---|
| 1. Verfasser: | |
| Format: | Buchkapitel |
| Sprache: | Englisch |
| Veröffentlicht: |
United Kingdom
John Wiley & Sons, Incorporated
2018
Wiley |
| Schlagworte: | |
| ISBN: | 0470971193, 9780470971192 |
| Online-Zugang: | Volltext |
| Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
| Zusammenfassung: | This chapter gives an introduction to the IEEE 754 technical standard for floating‐point computation. Many hardware floating‐point units now support IEEE 754. The standard addresses the following topics: Arithmetic formats; special cases of finite numbers; interchange formats; operations; rounding rules; and exception handling. The standard specifies extended and extendible precision formats that are recommended when greater precision is needed. There are a number of software libraries that support quadruple precision but direct hardware support is less common. The chapter focuses on the Boost Multiprecision library. It discusses how a number of the recommendations in the IEEE 754 standard are implemented in C++. The chapter also discusses C++ language features to promote the robustness and reliability of code. It then summarizes some of the C++ common mathematical functions for easy reference. The chapter concludes by giving a compact summary of how to create static and dynamic libraries. |
|---|---|
| ISBN: | 0470971193 9780470971192 |
| DOI: | 10.1002/9781119170518.ch8 |

