MR_REMAIN

MR_REMAIN定义在miracl.h,计算余数。

#ifdef MR_FP
#define MR_REMAIN(a,b) ((a)-(b)*MR_DIV((a),(b)))
#else
#define MR_REMAIN(a,b) ((a)%(b))
#endif

MR_DIV计算商,(a)-(b)*MR_DIV((a),(b))就是余数。

© phdlisl all right reserved,powered by GitbookUpdate in 2025-10-11

results matching ""

    No results matching ""