![]() ![]() | ![]() |
File: [local] / OpenXM / src / kan96xx / gmp-2.0.2-ssh-2 / mpn / generic / Attic / dump.c (download)
Revision 1.1.1.1 (vendor branch), Mon Oct 25 08:53:34 1999 UTC (24 years, 10 months ago) by takayama
gmp-2.0.2-ssh-2 is added. It is a patched version of gmp-2.0.2 to compile on FreeBSD 3.3. |
#include <stdio.h> #include "gmp.h" #include "gmp-impl.h" void mpn_dump (ptr, size) mp_srcptr ptr; mp_size_t size; { if (size == 0) printf ("0\n"); { while (size) { size--; printf ("%0*lX", (int) (2 * BYTES_PER_MP_LIMB), ptr[size]); } printf ("\n"); } }