The goal of this toolbox is to provide a double-double implementation in
These floating point numbers have a greater precision (but not a greater range)
This module allows to run the following script:
z1 = dbldbl_new ( 2 )
z2 = dbldbl_new ( 2 )
z1 + z2
z1 * 3
3 * z1
z1 / 3
We can add, subtract, multiply, dividy, compare double-doubles.
We can also compute elementary functions: abs, sin, cos, tan, asin, acos, atan,
exp, log, sqrt and power.
This is a Scilab port of David H. Bailey's ddfun90.f.
* "Design, Implementation and Testing of Extended and Mixed Precision
BLAS", Li et al, 2000
* "A Fortran-90 double-double precision library", David Bailey, http://www.nersc.gov/∼dhbailey/mpdist/mpdist.html.