(git:27c966b)
Loading...
Searching...
No Matches
double_double.F File Reference

Go to the source code of this file.

Data Types

type  double_double::dd_type
 Double-double number hi + lo with |lo| <= ulp(hi)/2. More...
type  double_double::zdd_type
 Complex double-double number. More...

Modules

module  double_double
 Double-double arithmetic: real and complex numbers stored as unevaluated sums hi + lo of two double-precision numbers, about 31 significant digits, following Y. Hida, X. S. Li, D. H. Bailey, Proc. 15th IEEE Symposium on Computer Arithmetic, 155 (2001).

Functions/Subroutines

elemental type(dd_type) function, public double_double::dd_add (a, b)
 Sum of two double-double numbers.
elemental type(dd_type) function, public double_double::dd_sub (a, b)
 Difference of two double-double numbers.
elemental type(dd_type) function, public double_double::dd_mul (a, b)
 Product of two double-double numbers.
elemental type(dd_type) function, public double_double::dd_div (a, b)
 Quotient of two double-double numbers, by three steps of long division.
elemental type(zdd_type) function, public double_double::zdd (z)
 Complex double-double number from a double-precision one.
elemental complex(kind=dp) function, public double_double::zdd_to_dp (a)
 Rounds a complex double-double number to double precision.
elemental type(zdd_type) function, public double_double::zdd_add (a, b)
 Sum of two complex double-double numbers.
elemental type(zdd_type) function, public double_double::zdd_sub (a, b)
 Difference of two complex double-double numbers.
elemental type(zdd_type) function, public double_double::zdd_mul (a, b)
 Product of two complex double-double numbers.
elemental type(zdd_type) function, public double_double::zdd_div (a, b)
 Quotient of two complex double-double numbers.
elemental type(zdd_type) function, public double_double::zdd_conjg (a)
 Complex conjugate of a complex double-double number.
elemental real(kind=dp) function, public double_double::zdd_abs2 (a)
 Squared modulus of a complex double-double number, rounded to double precision.

Variables

type(zdd_type), parameter, public double_double::zdd_zero = zdd_type(dd_type(0.0_dp, 0.0_dp), dd_type(0.0_dp, 0.0_dp))
type(zdd_type), parameter, public double_double::zdd_one = zdd_type(dd_type(1.0_dp, 0.0_dp), dd_type(0.0_dp, 0.0_dp))
type(zdd_type), parameter, public double_double::zdd_i = zdd_type(dd_type(0.0_dp, 0.0_dp), dd_type(1.0_dp, 0.0_dp))