Figure 4: Moshier Extended-Precision test results


Recaps of Tests Run on Selected Functions
in Moshiers's Extended-Precision Library

Significand: 144 Bits
Arithmetic:  Base 2

Tests of xexp(x):

Test            (Log 2)   Bits (Log 2) Bits Test
----              MRE     Lost  RMS E  Lost Range
                  ---     ----  -----  ---- -----
1: xexp(x)       -142.09  1.91 -148.80 0.00 (-0.5*log(2),
                                             0.5*log(2))
2: xexp(x)       -141.73  2.27 -148.06 0.00 (-5*log(2),
                                             -2.579618E-4277)
3: xexp(x)       -141.66  2.34 -148.06 0.00 (10*log(2), 10381.2)

Test of xpow(x,p):

Test            (Log 2)   Bits (Log 2) Bits Test
----              MRE     Lost  RMS E  Lost Range
                  ---     ----  -----  ---- -----
1: xpow(x,1)     -(INF)   0.00 -(INF)  0.00 (+0.5, +1)
2: xpow(x*x,1.5) -141.38  2.62 -148.47 0.00 (+0.5, +1)
3: xpow(x*x,1.5) -130.20 13.80 -136.41 7.59 (+1.0, +6.5071E+1669)
4: xpow(x,y)     -130.00 14.00 -138.37 5.63 x: (+0.01, +10)
                                            y: (-2504.72,+2504.72)

Test of xsin(x) & xcos(x):

Test            (Log 2)   Bits (Log 2) Bits Test
----              MRE     Lost  RMS E  Lost Range
                  ---     ----  -----  ---- -----
1: xsin(x)       -141.41  2.59 -148.10 0.00 (0.0, pi/2)
2: xcos(x)       -128.42 15.58 -138.38 5.62 (0.0, pi/2)
3: xsin(x)       -128.88 15.12 -138.80 5.20 (6*pi, 6.5*pi)
4: xcos(x)       -129.28 14.72 -139.21 4.79 (7*pi, 7.5*pi)