libzahl

big integer library
git clone git://git.suckless.org/libzahl
Log | Files | Refs | README | LICENSE

zodd_nonzero.3 (448B)


      1 .TH ZODD_NONZERO 3 libzahl
      2 .SH NAME
      3 zodd_nonzero - Check whether a non-zero big integer is odd
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 int zodd_nonzero(z_t \fIa\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zodd_nonzero
     12 checks whether
     13 .I a
     14 is odd.
     15 .P
     16 Undefined behaviour is invoked if
     17 .I a
     18 is zero.
     19 .SH RETURN VALUE
     20 .B zodd_nonzero
     21 returns 1 if
     22 .I a
     23 is odd, and 0 otherwise.
     24 .SH SEE ALSO
     25 .BR zodd (3),
     26 .BR zeven_nonzero (3),
     27 .BR zzero (3),
     28 .BR zsignum (3),
     29 .BR zcmp (3)