Skip to content

Commit

Permalink
Make tiny function definition inline (style)
Browse files Browse the repository at this point in the history
Follows up #46764
  • Loading branch information
LilithHafner authored Nov 4, 2022
1 parent 3b5c058 commit 1dab2bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/ryu/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ lengthforindex(idx) = div(((Int64(16 * idx) * 1292913986) >> 32) + 1 + 16 + 8, 9
Return `true` if `5^p` is a divisor of `x`.
"""
function pow5(x, p)
x % (5^p) == 0
end
pow5(x, p) = x % (5^p) == 0

"""
Ryu.pow2(x, p)
Expand Down

0 comments on commit 1dab2bd

Please sign in to comment.