def Decimal.read.exp
import bend-kit-bignum@0.1.0.0/decimal.bend as Decimalimport Base
304# ponytail: exponents past 100000 in magnitude are refused, since 1e100000
305# materializes 100000 digits; raise the bound if a caller needs more.
306def Decimal.read.exp(big: Bool, neg: Bool, ds: String, sc: Nat, eneg: Bool,
307 e: U32) -> Scan:
308 match big:
309 case True{}:
310 Bad{}
311 case False{}:
312 ExpDigits{neg, ds, sc, eneg, e}