Possible documentation problems.

Torbjorn Granlund tege at swox.com
Tue Apr 11 14:26:47 CEST 2006

"Chris Saunders" <evas at mountaincable.net> writes:

  I've been looking at the GMP documentation and think I have found
  some inaccuracies.
  It is claimed under Rational Number Functions->Comparing Rationals:
  that the functions mpq_cmp_ui and mpq_cmp_si are macros.
  When I look at the header and source files these do not seem to me
  to be macros.  It is possible that I am incorrect as I am not an expert
  at the language C.  I have also run into this with some of the integer
  functions but don't recall the specific functions.
Around line 2095 in gmp-h.in you'll see that they are indeed macros.


More information about the gmp-discuss mailing list