2 if not ?fboundp ('bffac) then load ("bffac"),
3 float_approx_equal_tolerance : 1e-13,
7 (float_near_zero (x) := is (abs(x) < float_approx_equal_tolerance),
11 /* Easy standard values of zeta */
18 float_near_zero (bfzeta(-2, 10));
21 /* zeta(2) = %pi^2/6 (A&S 23.2.24) */
22 float_near_zero (bfzeta(2, 14) - %pi^2/6);
25 /* zeta(4) = %pi^4/90 (A&S 23.2.25) */
26 float_near_zero (bfzeta(4, 15) - %pi^4/90);
29 /* Don't die horribly with arguments we can't evaluate zeta for */
39 /* Check the first zero is in the right place */
40 float_near_zero (bfzeta (1/2+%i*14.13472514173469379045b0, 16));
43 /* SF bug report #3426: "Algorithm precision problem for small positive values in bfpsi0" */
51 -10000000000.577215665b0;
54 -10000000000.577215665b0;
56 (reset(float_approx_equal_tolerance),0);