Skip to content

Commit a2b442e

Browse files
committed
Remove bit-rotted comment about at-pure for max_exp10
1 parent 9949f40 commit a2b442e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/FixedPointDecimals.jl

+1-5
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Base.one(::Type{FD{T, f}}) where {T, f} = reinterpret(FD{T, f}, coefficient(FD{T
343343

344344
# comparison
345345
Base.:(==)(x::T, y::T) where {T <: FD} = x.i == y.i
346-
Base.:( <)(x::T, y::T) where {T <: FD} = x.i < y.i
346+
Base.:(<)(x::T, y::T) where {T <: FD} = x.i < y.i
347347
Base.:(<=)(x::T, y::T) where {T <: FD} = x.i <= y.i
348348

349349
# predicates and traits
@@ -480,10 +480,6 @@ NOTE: This function is expensive, since it contains a while-loop, but it is actu
480480
This function does not have or depend on any side-effects.
481481
"""
482482
function max_exp10(::Type{T}) where {T <: Integer}
483-
# This function is marked as `@pure`. Even though it does call some generic
484-
# functions, they are all simple methods that should be able to be evaluated as
485-
# constants. This function does not have or depend on any side-effects.
486-
487483
W = widen(T)
488484
type_max = W(typemax(T))
489485

0 commit comments

Comments
 (0)