We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ulp_error_maximum
Fix1
1 parent cee5a83 commit e8319acCopy full SHA for e8319ac
test/testhelpers/ULPError.jl
@@ -42,9 +42,6 @@ module ULPError
42
ulp_error(func ∘ BigFloat, func, x)
43
end
44
function ulp_error_maximum(func::Func, iterator) where {Func}
45
- function f(x::AbstractFloat)
46
- ulp_error(func, x)
47
- end
48
- maximum(f, iterator)
+ maximum(Base.Fix1(ulp_error, func), iterator)
49
50
0 commit comments