Skip to content

Commit 9b3965b

Browse files
authored
Merge branch 'td-new-parser' into td-new-parser
2 parents beaed86 + 8fef453 commit 9b3965b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FixedPointDecimals.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@ end
100100
end
101101

102102
const FD = FixedDecimal
103+
const RoundThrows = RoundingMode{:Throw}()
103104

104105
include("parse.jl")
105106

106107
function __init__()
107108
nt = isdefined(Base.Threads, :maxthreadid) ? Threads.maxthreadid() : Threads.nthreads()
109+
# Buffers used in parsing when dealing with BigInts, see _divpow10! in parse.jl
108110
resize!(empty!(_BIGINT_10s), nt)
109111
resize!(empty!(_BIGINT_Rs), nt)
110112
return

0 commit comments

Comments
 (0)