another un-important error with nails

Torbjorn Granlund tg at swox.com
Sun Nov 9 18:03:02 CET 2008


jason at njkfrudils.plus.com writes:

   ./configure --enable-assert --enable-nails=12 && make && make check   
  
  t-set_d.c:60: GNU MP assertion failed: ((z)->_mp_size) == 0 || ((z)->_mp_d)
  [((((z)->_mp_size)) >= 0 ? (((z)->_mp_size)) : -(((z)->_mp_size))) - 1] != 0
  /bin/sh: line 4:  3050 Aborted                 ${dir}$tst
  FAIL: t-set_d
  mpz_cmp_d wrong (from check_low_z_one)
    got  1
    want 0
    x=2
    y 2
    x=0x2
    y 2
    y 00 00 00 00 00 00 00 40
  /bin/sh: line 4:  3374 Aborted                 ${dir}$tst
  FAIL: t-cmp_d
  ==================================
  2 of 56 tests failed
  Please report to gmp-bugs at swox.com
  ==================================
  make[4]: *** [check-TESTS] Error 1
  
  
  probably as 64-12=52 < 54 double prec size

I think you're right.  I have rewritten extract-dbl.c in the current
development sources, for efficiency as well as for better nails
support.

I don't think I will patch this, as the new extract-dbl.c feels
somewhat unsuitable for a dot release.

-- 
Torbjörn


More information about the gmp-bugs mailing list