Skip to content

Commit 0d07df4

Browse files
authored
Revert "Add erf and erfc" (#132)
* Revert "Fix a - x and add tests (#131)" This reverts commit 839bb20. * Revert "WIP: Add erf and erfc (#118)" This reverts commit afb03a3.
1 parent 839bb20 commit 0d07df4

File tree

5 files changed

+1
-47
lines changed

5 files changed

+1
-47
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ StaticArrays 0.5
44
FastRounding 0.0.4
55
AdjacentFloats 0.0.5
66
RecipesBase
7-
SpecialFunctions
7+

src/IntervalArithmetic.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ import Base:
2929
isinteger, setdiff,
3030
parse
3131

32-
import SpecialFunctions:
33-
erf, erfc
34-
3532
export
3633
AbstractInterval, Interval,
3734
interval,

src/intervals/functions.jl

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -266,24 +266,3 @@ for f in (:log, :log2, :log10, :log1p)
266266

267267
end
268268
end
269-
270-
for f in (:erf, :erfc)
271-
@eval function($f)(x::BigFloat, r::RoundingMode)
272-
setrounding(BigFloat, r) do
273-
($f)(x)
274-
end
275-
end
276-
277-
@eval ($f)(a::Interval{Float64}) = convert(Interval{Float64}, ($f)(big53(a)))
278-
279-
end
280-
281-
function erf(a::Interval{T}) where T
282-
isempty(a) && return a
283-
@round( erf(a.lo), erf(a.hi) )
284-
end
285-
286-
function erfc(a::Interval{T}) where T
287-
isempty(a) && return a
288-
@round( erfc(a.hi), erfc(a.lo) )
289-
end

test/interval_tests/intervals.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include("consistency.jl")
55
include("numeric.jl")
66
include("trig.jl")
77
include("hyperbolic.jl")
8-
include("special_functions.jl")
98
include("non_BigFloat.jl")
109
include("linear_algebra.jl")
1110
include("loops.jl")

test/interval_tests/special_functions.jl

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)