Skip to content

Commit 1dab2bd

Browse files
authored
Make tiny function definition inline (style)
Follows up #46764
1 parent 3b5c058 commit 1dab2bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

base/ryu/utils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ lengthforindex(idx) = div(((Int64(16 * idx) * 1292913986) >> 32) + 1 + 16 + 8, 9
6464
6565
Return `true` if `5^p` is a divisor of `x`.
6666
"""
67-
function pow5(x, p)
68-
x % (5^p) == 0
69-
end
67+
pow5(x, p) = x % (5^p) == 0
7068

7169
"""
7270
Ryu.pow2(x, p)

0 commit comments

Comments
 (0)