- Remember to define
CIGINT_IMPLEMENTATIONbefore including the library
#define CIGINT_IMPLEMENTATION
#include "cigint.h"-
There is a strip option to remove the prefix
cigint_from function names by defineCIGINT_STRIP_PREFIX. Keep in mind that the stripped name ofcigint_andhas a lettercat the beginning,cand, to avoid conflicts with C++ macros. The same applies tocigint_or,cigint_xorandcigint_not -
To specific the number of storage bytes, please define
CIGINT_Nas the result of dividing that number by 4. For example, if you need 32 bytes, then you define
#define CIGINT_N (32/4)
#include "cigint.h"