bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compare() or cmp()?


From: Steven Eker
Subject: compare() or cmp()?
Date: Thu, 2 May 2002 18:20:28 -0700

Concerning GMP 4.0.1:

gmpxx.h says:

__GMP_DEFINE_BINARY_TYPE_FUNCTION(int, compare, __gmp_cmp_function)

http://swox.com/gmp/manual/C---Interface-Integers.html says:

int cmp (mpz_class op1, type op2)
int cmp (type op1, mpz_class op2)

I assume the code rather than the doc is correct?

Best regards,

Steven Eker



reply via email to

[Prev in Thread] Current Thread [Next in Thread]