Skip to content

Commit 0532345

Browse files
Merge pull request #961 from SciML/ChrisRackauckas-patch-6
Future-safe the fastpow
2 parents 00d076d + fb60a7f commit 0532345

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fastpow.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ const EXP2FT = (Float32(0x1.6a09e667f3bcdp-1),
5656
TBLSIZE = UInt32(1 << TBLBITS)
5757

5858
redux = Float32(0x1.8p23f) / TBLSIZE
59-
P1 = Float32(0x1.62e430p-1f)
60-
P2 = Float32(0x1.ebfbe0p-3f)
61-
P3 = Float32(0x1.c6b348p-5f)
62-
P4 = Float32(0x1.3b2c9cp-7f)
59+
P1 = Float32(0x1.62e430p-1)
60+
P2 = Float32(0x1.ebfbe0p-3)
61+
P3 = Float32(0x1.c6b348p-5)
62+
P4 = Float32(0x1.3b2c9cp-7)
6363

6464
# Reduce x, computing z, i0, and k.
6565
t::Float32 = x + redux

0 commit comments

Comments
 (0)