X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=qscale.c;h=54985cc7e6beb47640cbd5fc6c64eac7e26487d7;hb=45d0276adefcecd43b7be44a47fca4293f0e322f;hp=1b3ab57c0b9bd20a76785d66caac745b445a774c;hpb=0f5c62013c0210e1f9806342eb1271674f735d7d;p=qscale diff --git a/qscale.c b/qscale.c index 1b3ab57..54985cc 100644 --- a/qscale.c +++ b/qscale.c @@ -9,8 +9,7 @@ double sinc(double x) { - static const double eps = 2.22045e-016; - static const double cutoff = sqrt(sqrt(eps)); + static const double cutoff = 1.220703668e-4; // sqrt(sqrt(eps)) if (abs(x) < cutoff) { // For small |x|, use Taylor series instead