MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / ModDouble

Method ModDouble

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.80

Calls 2

SubMethod · 0.80
IsPositiveMethod · 0.80

Tested by

no test coverage detected