Pārlūkot izejas kodu

Bug fix for large doubles with a fraction

My truth table was a bit busted for extreme value doubles.
pull/44/head
Paul J. Davis pirms 12 gadiem
vecāks
revīzija
90b28c68e6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      c_src/decoder.c

+ 1
- 1
c_src/decoder.c Parādīt failu

@ -561,7 +561,7 @@ parse:
if(!has_frac && !has_exp) {
num_type = d->atoms->atom_bignum;
} else if(has_exp) {
} else if(!has_frac && has_exp) {
num_type = d->atoms->atom_bignum_e;
} else {
num_type = d->atoms->atom_bigdbl;

Notiek ielāde…
Atcelt
Saglabāt