Skip to content

NumDecimals stops working on some exponents?

% ghci-9.8.1
GHCi, version 9.8.1: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /home/phadej/.ghci
Prelude> :set -XNumDecimals 
Prelude> 1e100 :: Integer
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Prelude> 1e1000 :: Integer

<interactive>:3:1: error: [GHC-39999]
    • No instance for ‘Fractional Integer’
        arising from the literal ‘1e1000’
    • In the expression: 1e1000 :: Integer
      In an equation for ‘it’: it = 1e1000 :: Integer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information