Go to the source code of this file.
Functions | |
| void | init_fast_invmod (void) |
| unsigned int | fast_invmod (unsigned int a, unsigned int p) |
Variables | |
| const double | ieee_round = 6755399441055744.0 |
| const double | intel_round = 6755399441055744.0 * 2048.0 |
| const double | round_test = 2.7 |
| const double | round_correct = 3.0 |
| volatile double | round_constant [2] |
Definition in file invmod.c.
| unsigned int fast_invmod | ( | unsigned int | a, | |
| unsigned int | p | |||
| ) |
Definition at line 99 of file invmod.c.
References int, and round_constant.
Referenced by numtheory::fastinvmod_23bit(), and init_fast_invmod().
| void init_fast_invmod | ( | void | ) |
Definition at line 58 of file invmod.c.
References exit(), fast_invmod(), ieee_round, intel_round, round_constant, round_correct, and round_test.

| const double ieee_round = 6755399441055744.0 |
| const double intel_round = 6755399441055744.0 * 2048.0 |
| volatile double round_constant[2] |
| const double round_correct = 3.0 |
| const double round_test = 2.7 |
1.5.4