interplane.Get Omega
Read in your language

yang

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

yang / evidence / phase4_ivmath_crosscheck.txt

17 lines · 1245 bytes Raw Blame History
1# elementary-function cross-check vs 50-digit mpmath
2uSin64 (15th order, OLD) [-8.0, 8.0] n=200000 max_abs_err=6.023e-12 at x=-1.5708000000000002
3uCos64 (15th order, OLD) [-8.0, 8.0] n=200000 max_abs_err=6.023e-12 at x=0.0
4ivSin64 (23rd order, NEW) [-8.0, 8.0] n=200000 max_abs_err=2.965e-16 at x=-6.86432
5ivCos64 (23rd order, NEW) [-8.0, 8.0] n=200000 max_abs_err=3.445e-16 at x=7.304080000000001
6uExp64 [-100.0, 100.0] n=200000 max_rel_err=1.006e-14 at x=91.149
7uLog64 [8.673617379884035e-19, 1.152921504606847e+18] n=200000 max_rel_err=3.36e-14 at x=1.4140175243330373
8uLog64 near 1 [0.5, 2.0] n=200000 max_rel_err=3.387e-14 at x=1.414205
9uLog64 near 1 (abs) [0.5, 2.0] n=200000 max_abs_err=1.174e-14 at x=1.414205
10old cos(0) = 0.9999999999939766 (must be 1; old margin 1e-12*|x|+1e-15)
11new cos(0) = 0.9999999999999999
12# sampled regression thresholds
13ivSin64 abs <= 4e-15 observed=2.965e-16 OK
14ivCos64 abs <= 5e-15 observed=3.445e-16 OK
15uExp64 rel <= 3e-14 observed=1.006e-14 OK
16uLog64 rel <= 1e-13 observed=3.387e-14 OK
17old uSin64/uCos64 exceed the old margin 1e-12: True