Sfoglia il codice sorgente

Adjust number ranges to show bignum support

Looks like there's a slight difference in the number of significant
digits supported across platforms in strtod. This just adds a couple to
force it into the bignum code.
pull/11/merge
Paul J. Davis 13 anni fa
parent
commit
e88419837b
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      test/003-numbers.t

+ 3
- 3
test/003-numbers.t Vedi File

@ -31,9 +31,9 @@ good() ->
<<"1.2345678901234568502e+27">>
},
{
<<"1234567890123456789012345E2">>,
123456789012345678901234500,
<<"123456789012345678901234500">>
<<"1234567890123456789012345012">>,
1234567890123456789012345012,
<<"1234567890123456789012345012">>
},
{
<<"0.000000000000000000000000000000000001">>,

Caricamento…
Annulla
Salva