Lines Matching +full:high +full:- +full:accuracy
2 * Single-precision erf(x) function.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
12 #define TwoOverSqrtPiMinusOne 0x1.06eba8p-3f
26 Worst-case error is 1.09ulps at 0x1.c111acp-1. */
38 computed on [0.0, 0.921875] and [0.921875, 4.0], which brought accuracy in erff()
45 { /* |x| < 2^(-28). */ in erff()
47 { /* |x| < 2^(-119). */ in erff()
66 { /* |x| < 4.0 - Use a custom Estrin scheme. */ in erff()
69 /* Start with Estrin scheme on high order (small magnitude) coefficients. */ in erff()
83 r = expf (-r); in erff()
86 r = -1.0f + r; in erff()
88 r = 1.0f - r; in erff()
93 /* Special cases : erff(nan)=nan, erff(+inf)=+1 and erff(-inf)=-1. */ in erff()
95 return (1.f - (float) ((ix >> 31) << 1)) + 1.f / x; in erff()
99 r = -1.0f; in erff()