Bitwise logic gmpxx.h problems

Torbjorn Granlund tg at
Thu Jul 31 14:40:12 CEST 2008

Marc Glisse <marc.glisse at> writes:

  On Thu, 31 Jul 2008, Torbjorn Granlund wrote:
  >  > OK, I'll use the terse C++'y std::numeric_limits<double>::max_exponent.
  >  I am not sure it is as portable as DBL_MAX_EXP from <cfloat>, but we'll
  >  see. It's easy to switch anyway if one causes trouble.
  > I indeed got some failures.  I'll try DBL_MAX_EXP next.
  Could you tell which compilers failed, for future reference?
"gcc version 2.95.4 20020320 [FreeBSD]" on a FreeBSD 4.10 machine.

Tonight's test was rather limited, more might fail a broader test.


More information about the gmp-bugs mailing list