We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exp_impl
pow
1 parent ee8dd0f commit ec1115dCopy full SHA for ec1115d
base/special/exp.jl
@@ -224,7 +224,7 @@ end
224
twopk = (k + UInt64(53)) << 52
225
return reinterpret(T, twopk + reinterpret(UInt64, small_part))*0x1p-53
226
end
227
- #k == 1024 && return (small_part * 2.0) * 2.0^1023
+ #k == 1024 && return (small_part * 2.0) * 0x1p1023
228
229
twopk = Int64(k) << 52
230
return reinterpret(T, twopk + reinterpret(Int64, small_part))
@@ -252,7 +252,7 @@ end
252
253
254
255
- k == 1024 && return (small_part * 2.0) * 2.0^1023
+ k == 1024 && return (small_part * 2.0) * 0x1p1023
256
257
258
0 commit comments