Double-double Type Quadruple Precision Arithmetic Library for C++ Languages and its Application
Hiroshi Hirayama · IPSJ SIG Notes · 2014
The arithmetic routine for quadruple precision floating point numbers which can consist of two double precision floating point numbers was created. The multiple precision arithmetic routine created by C++ language for the input and output of these numbers was used. The calculation function of quadruple precision can be given to C++ language which does not usually have quadruple precision by using this program. By this arithmetic routine, not only addition, subtraction, multiplication and division but absolute value, integer part, exponential and logarithmic function, trigonometric functions and its inverse function, hyperbolic function and its inverse function were prepared. The existing C++ program can be easily converted to quadruple precision program by using this program library. Many programs can be executed in high precision. 1. は じ め に