Skip to content

Commit 3ad6271

Browse files
authored
Only define floatmin and floatmax for types
1 parent 2403c89 commit 3ad6271

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/tracked.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,7 @@ Base.rand(rng::Random.AbstractRNG, ::Type{TrackedReal{V,D,O}}) where {V,D,O} = T
433433
Base.eps(t::TrackedReal) = eps(value(t))
434434
Base.eps(::Type{T}) where {T<:TrackedReal} = eps(valtype(T))
435435

436-
Base.floatmax(t::TrackedReal) = floatmax(value(t))
437436
Base.floatmax(::Type{T}) where {T<:TrackedReal} = floatmax(valtype(T))
438-
439-
Base.floatmin(t::TrackedReal) = floatmin(value(t))
440437
Base.floatmin(::Type{T}) where {T<:TrackedReal} = floatmin(valtype(T))
441438

442439
Base.floor(t::TrackedReal) = floor(value(t))

0 commit comments

Comments
 (0)