Branch: Tag:

2014-05-20

2014-05-20 21:40:17 by Martin Nilsson <nilsson@opera.com>

Write out bitstrings as strings if they are even bytes long.

467:       protected string _sprintf(int t) {    int size = sizeof(value)*8-unused; -  return t=='O' && sprintf("%O(%d %0"+size+"s)", this_program, size, +  if(t!='O') return UNDEFINED; +  if(!unused) return sprintf("%O(%d %O)", this_program, size, value); +  return sprintf("%O(%d %0"+size+"s)", this_program, size,    ([object(Gmp.mpz)](Gmp.mpz(value, 256) >> unused))    ->digits(2));    }