Skip to content

Commit f677062

Browse files
committed
ULPError: delete dead code
1 parent 33717f5 commit f677062

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/testhelpers/ULPError.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ module ULPError
1010
zero_return = Float32(0)
1111
inf_return = Float32(Inf)
1212
# handle floating-point edge cases
13-
accur_is_zero = iszero(accurate)
1413
accur_is_nan = isnan(accurate)
1514
accur_is_inf = isinf(accurate)
1615
approx_is_inf = isinf(approximate)
1716
approx_is_nan = isnan(approximate)
18-
approx_is_zero = iszero(approximate)
1917
if accur_is_nan || approx_is_nan
2018
return if accur_is_nan === approx_is_nan
2119
zero_return

0 commit comments

Comments
 (0)