Skip to content

Commit 2d32fd9

Browse files
Eliminate type union
1 parent f5f05b3 commit 2d32fd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/e_lgamma_r.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@
8787

8888
# Matches OpenLibm behavior (except commented out |x|≥2^52 early exit)
8989
function _lgamma_r(x::Float64)
90-
u = reinterpret(UInt64, x)
91-
hx = u >>> 32 % Int32
92-
lx = u % UInt32
90+
ux = reinterpret(UInt64, x)
91+
hx = ux >>> 32 % Int32
92+
lx = ux % UInt32
9393

9494
#= purge off +-inf, NaN, +-0, tiny and negative arguments =#
9595
signgamp = Int32(1)

0 commit comments

Comments
 (0)