libzahl

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

zcmpu.3 (409B)


      1 .TH ZCMPU 3 libzahl
      2 .SH NAME
      3 zcmpu - Compare a big integer and an unsigned integer
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 int zcmpu(z_t \fIa\fP, uint64_t \fIb\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zcmpu
     12 compares
     13 .I a
     14 and
     15 .IR b .
     16 .SH RETURN VALUE
     17 .B zcmpu
     18 returns -1 if
     19 .I a
     20 is less than
     21 .IR b ,
     22 0 if
     23 .I a
     24 is equal to
     25 .IR b ,
     26 and +1 if
     27 .I a
     28 is greater than
     29 .IR b .
     30 .SH SEE ALSO
     31 .BR zcmp (3),
     32 .BR zcmpi (3),
     33 .BR zcmpmag (3)