MCPcopy Create free account
hub / github.com/antlr/codebuff / squareMod

Method squareMod

output/java_guava/1.4.19/LongMath.java:1162–1165  ·  view source on GitHub ↗
(long a, long m)

Source from the content-addressed store, hash-verified

1160 }
1161
1162 @Override
1163 long squareMod(long a, long m) {
1164 return (a * a) % m;
1165 }
1166 },
1167 /**
1168 * Works for all nonnegative signed longs.

Callers 2

powModMethod · 0.95
testWitnessMethod · 0.95

Calls 3

times2ToThe32ModMethod · 0.95
remainderMethod · 0.95
plusModMethod · 0.95

Tested by

no test coverage detected