basalt

benchmarks/recurrence.c

#include "runtime.h"

int main(int argc, char **argv) {
    Word n = argument(argc == 2 ? argv[1] : NULL);
    Word state = 1;
    for (Word i = 0; signed_less(i, n); i++) {
        state = state * UINT64_C(6364136223846793005) + UINT64_C(1442695040888963407);
    }
    print_word(state);
    return 0;
}