libzahl

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

zgcd.3 (312B)


      1 .TH ZGCD 3 libzahl
      2 .SH NAME
      3 zgcd - Calculates the greatest common divisor
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 void zgcd(z_t \fIgcd\fP, z_t \fIa\fP, z_t \fIb\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zgcd
     12 calculates the greatest common divisor
     13 between
     14 .I a
     15 and
     16 .I b
     17 and stores the result in
     18 .IR gcd .
     19 .SH SEE ALSO
     20 .BR zdiv (3)