MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / ModDouble

Method ModDouble

secp256k1/IntMod.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57// ------------------------------------------------
58
59void Int::ModDouble() {
60 Int p;
61 Add(this);
62 p.Sub(this,&_P);
63 if(p.IsPositive())
64 Set(&p);
65}
66
67// ------------------------------------------------
68

Callers 1

DoubleMethod · 0.45

Calls 2

SubMethod · 0.45
IsPositiveMethod · 0.45

Tested by

no test coverage detected