This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#include <caml/mlvalues.h>
#include <stdio.h>
#include <gmp.h>
value caml_compute(value unit) {
mpz_t n;
mpz_init(n);
mpz_set_str(n,"100", 10);
mpz_mul(n,n,n);
printf("MPZ: ");
mpz_out_str(stdout, 10, n);
printf("\n");
mpz_clear(n);
return unit;
}