Skip to content

Commit

Permalink
Avoid the printing of e+00
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz committed May 22, 2015
1 parent e6721ae commit 1c74420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mpfr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ z = parse(BigInt,"9223372036854775809")
@test typeof(round(UInt, x)) == UInt && round(UInt, x) == 0x2a

# string representation
str = "1.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e+00"
str = "1.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012"
with_bigfloat_precision(406) do
@test string(nextfloat(BigFloat(1))) == str
end
Expand Down

0 comments on commit 1c74420

Please sign in to comment.