Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
12345678910111213141516171819#include <stdint.h>
#if defined(WIN32) || defined(_WIN32)#define EXPORT __declspec(dllexport)#else#define EXPORT#endif
EXPORT uint64_t factorial(int max) { int i = max; uint64_t result = 1;
while (i >= 2) { result *= i--; }
return result;}