Skip to content

Commit a9079c8

Browse files
committed
missed condition
1 parent a0a5379 commit a9079c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/erf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function _erf(x::Float64)
117117

118118
x2 = x * x
119119

120-
if (ia < 0x3fe00000)
120+
if (ia < 0x3fe0)
121121
## a < 0.5 - Use polynomial approximation.
122122

123123
# Minimax approximation of erf of the form x*P(x^2) approximately on the interval [0;0.5]

0 commit comments

Comments
 (0)