mirror of
https://github.com/vale981/arb
synced 2025-03-06 01:41:39 -05:00
make test code for arb_sinc less likely to produce spurious failures
This commit is contained in:
parent
cc5f973216
commit
8297c82625
1 changed files with 2 additions and 2 deletions
|
@ -49,12 +49,12 @@ int main()
|
|||
arb_init(a);
|
||||
arb_sinc(a, x, prec);
|
||||
|
||||
/* sinc(x) in [-2, 2] */
|
||||
/* sinc(x) approximately in [-2, 2] */
|
||||
{
|
||||
arb_t b;
|
||||
arb_init(b);
|
||||
arb_zero(b);
|
||||
mag_one(arb_radref(b));
|
||||
mag_set_d(arb_radref(b), 1.01);
|
||||
mag_mul_2exp_si(arb_radref(b), arb_radref(b), 1);
|
||||
|
||||
if (!arb_contains(b, a))
|
||||
|
|
Loading…
Add table
Reference in a new issue