next up previous
Next: Input and Output Functions Up: mpffn class functions Previous: Arithmetic Functions

Comparison Functions

int mpffn_cmp(mp_srcptr x, mp_srcptr y, const mpffn_field *ff)
Compare x and y in ff. Return 0 if x = y, or 1 if x $ \neq$ y.
int mpffn_sgn(mp_srcptr x, const mpffn_field *ff)
Return 1 if x $ \neq$ 0, 0 if x = 0.

Bill Allombert 2003-07-01