Skip to content

Instantly share code, notes, and snippets.

Avatar
🦧

Albin Ahlbäck albinahlback

🦧
View GitHub Profile
@albinahlback
albinahlback / profile-xgcd.c
Created Jun 1, 2021
Profiling for xgcd in Flint
View profile-xgcd.c
#include "flint/flint.h"
#include "flint/fmpz.h"
#include "flint/profiler.h"
int main(int argc, char* argv[])
{
timeit_t clock;
fmpz_t d, x, y, a, b;
slong const min = strtol(argv[1], NULL, 10);
slong const max = strtol(argv[2], NULL, 10);