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
15
16
pretty = proc(u) {
  return ~(floor(u*1000)/1000);
};

d = [-0.00012305879499763337,0.00012315926142036915];
f = 1;
w = log(2)/log(1+x);
n = [|1,2,3,4,5,6,7,8,9|];
p =  remez(f, n, d, w);
pf = fpminimax(f, n, [|129,129,129,129,129,64...|], d, relative, floating, 0, p);
display = hexadecimal;
print (pf);
display = decimal;
err_p = -log2(dirtyinfnorm(pf*w-f, d));
print (pretty(err_p));