diff --git a/Project.toml b/Project.toml index 49d1eaa..66e6dab 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StochasticRounding" uuid = "3843c9a1-1f18-49ff-9d99-1b4c8a8e97ed" authors = ["Milan Kloewer and StochasticRounding.jl contributors"] -version = "0.8.0" +version = "0.8.1" [deps] BFloat16s = "ab4f0b2a-ad5b-11e8-123f-65d77653426b" diff --git a/src/bfloat16.jl b/src/bfloat16.jl index 1de6ee8..d7eb918 100644 --- a/src/bfloat16.jl +++ b/src/bfloat16.jl @@ -54,5 +54,4 @@ Base.BigFloat(x::BFloat16) = BigFloat(Float32(x)) Base.maxintfloat(::Type{BFloat16}) = reinterpret(BFloat16,0x4380) -Base.round(x::BFloat16, r::RoundingMode{:ToZero}) = BFloat16(trunc(Float32(x))) -Base.round(x::BFloat16, r::RoundingMode{:Down}) = BFloat16(floor(Float32(x))) \ No newline at end of file +Base.round(x::BFloat16, r::RoundingMode{:ToZero}) = BFloat16(trunc(Float32(x))) \ No newline at end of file