Skip to content

Commit 2a40ac1

Browse files
Update LowLevelFloatFunctions.jl
1 parent 490df94 commit 2a40ac1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/LowLevelFloatFunctions.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ for F in (:precision, :significand_bits, :exponent_bits)
3030
end
3131
end
3232

33-
biased_exponent(x::T) where T<:SysFloat = Int(biased_exponent_field(x))
34-
unbias_exponent(x::T) where T<:SysFloat = Int(x - exponent_bias(T))
35-
3633
@inline sign_bits(::Type{T}) where T<:SysFloat = 1
3734
@inline sign_bits(::Type{T}) where T<:Union{UInt64, UInt32, UInt16} = 1
3835

@@ -55,7 +52,7 @@ unbias_exponent(x::T) where T<:SysFloat = Int(x - exponent_bias(T))
5552

5653
# extend coverage to Unsigneds for field processing functions
5754

58-
for F in (:exponent_max, :exponent_min, :exponent_bias, :exponent_field_min)
55+
for F in (:exponent_max, :exponent_min, :exponent_field_min)
5956
for (T,U) in ((:Float64, :UInt64), (:Float32, :UInt32), (:Float16, :UInt16))
6057
@eval begin
6158
@inline $F(::Type{$U}) = $F($T)

0 commit comments

Comments
 (0)