Skip to content

Commit 3bae545

Browse files
authored
Merge pull request #62 from jmkuhn/32bit
Fix overflow on 32 bit systems
2 parents e10b348 + 19c8024 commit 3bae545

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/cformat.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ function format( x::T;
204204
(1024.0 ^8, "Yi" ),
205205
(1024.0 ^7, "Zi" ),
206206
(1024.0 ^6, "Ei" ),
207-
(1024^5, "Pi" ),
208-
(1024^4, "Ti" ),
209-
(1024^3, "Gi"),
210-
(1024^2, "Mi"),
211-
(1024, "Ki")
207+
(1024.0 ^5, "Pi" ),
208+
(1024.0 ^4, "Ti" ),
209+
(1024.0 ^3, "Gi"),
210+
(1024.0 ^2, "Mi"),
211+
(1024.0, "Ki")
212212
]
213213
else # :finance
214214
scales = [

0 commit comments

Comments
 (0)