core-math-sys 1.2.0

Generate bindings to CORE-MATH
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pretty = proc(u) {
  return ~(floor(u*1000)/1000);
};

d = [1/128,1/64];
f = 1;
w = 1/atan(x);
n = [|1,3,5,7,9|];
p = remez(f, n, d, w);
pf = fpminimax(f, n, [|1,53...|], d, relative, floating, 0, p);
d0 = [0,1/64];
err_p = -log2(dirtyinfnorm(pf*w-f, d0));
print (pf);
print (pretty(err_p));