Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

stack overflow in format of Rational{BigInt} #26

Open
jlapeyre opened this issue Nov 28, 2016 · 1 comment
Open

stack overflow in format of Rational{BigInt} #26

jlapeyre opened this issue Nov 28, 2016 · 1 comment

Comments

@jlapeyre
Copy link

Formatting 0.2.0

julia> using Formatting

julia> format(big"1"//2, conversion="e")
ERROR: StackOverflowError:
 in ini_dec(::BigFloat, ::Int64) at ./printf.jl:953 (repeats 80000 times)

julia> versioninfo()
Julia Version 0.6.0-dev.435
Commit 8eed82e* (2016-08-30 13:50 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4712HQ CPU @ 2.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, haswell)
@ScottPJones
Copy link
Collaborator

This should be closed, it is fixed on both Formatting.jl and Format.jl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants