From 4bac230c78308180e5a58272061de3fbd1d779b7 Mon Sep 17 00:00:00 2001 From: "David P. Sanders" Date: Wed, 8 Feb 2017 13:04:25 -0600 Subject: [PATCH] Revert #199 (#200) * Revert "Use CRlibm.setup() (#199)" This reverts commit b85d1550529839f8adb8f960d755e00f3f001dcd. * Upperbound CRlibm * Import parse --- REQUIRE | 2 +- src/ValidatedNumerics.jl | 2 -- src/intervals/rounding.jl | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/REQUIRE b/REQUIRE index 4c9493f..d2c2629 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,5 +1,5 @@ julia 0.4 -CRlibm 0.4 +CRlibm 0.2.2 0.4 Compat 0.7.11 FixedSizeArrays 0.1.2 ForwardDiff 0.2.0 diff --git a/src/ValidatedNumerics.jl b/src/ValidatedNumerics.jl index 112d662..1c21f96 100644 --- a/src/ValidatedNumerics.jl +++ b/src/ValidatedNumerics.jl @@ -79,8 +79,6 @@ function __init__() setprecision(Interval, 256) # set up pi setprecision(Interval, Float64) - - CRlibm.setup() end diff --git a/src/intervals/rounding.jl b/src/intervals/rounding.jl index 579f86d..de3bcb1 100644 --- a/src/intervals/rounding.jl +++ b/src/intervals/rounding.jl @@ -3,8 +3,7 @@ # Some, like sin(a, RoundDown) are already defined in CRlibm -# import Base: +, -, *, /, sin, sqrt, inv, ^, zero, convert, parse - +import Base: +, -, *, /, sin, sqrt, inv, ^, zero, convert, parse # unary minus: -{T<:AbstractFloat}(a::T, ::RoundingMode) = -a # ignore rounding