Original title:
C++ knihovna pro práci s čísly v pohyblivé řádové čárce s libovolnou přesností
Translated title:
C++ Arbitrary Precision Floating Point Library
Authors:
Závada, Vladislav ; Šnobl, Pavel (referee) ; Hruška, Tomáš (advisor) Document type: Master’s theses
Year:
2019
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Tato práce se zabývá návrhem floating point modulu, který umožní provádět operace s floating point operandy které mají libovolnou bitovou šířku. K tomuto účelu je modul implementován jako šablonová třída v jazyce C++. Modul je navržen tak aby umožňoval jeho použití při návrhu aplikačně specifického procesoru. Nejprve je popsán standard floating point čísel a šablonové funkce v jazyce c++. V praktické části jsou poté popsány algoritmy jednotlivých operací a návrh samotného modulu jako šablonové knihovny.
This thesis deals with the design of a floating point module, which allows to perform operations with floating point operands that have any bit width. For this purpose, the module is implemented as a template class in C ++. The module is designed to allow it to be used when designing an application-specific processor. First, the floating point number and template functions in c ++ are described. In the practical part the algorithms of the individual operations and the design of the module itself are described as template libraries.
Keywords:
C++; floating point; FPU; IEEE754; library; processor; templates; unit tests; C++; FPU; IEEE754; jednotkové testy; knihovna; pohyblivá řadová čárka; procesor; šablony
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/180357