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

Method squareMod

output/java_guava/1.4.16/LongMath.java:1181–1184  ·  view source on GitHub ↗
(long a, long m)

Source from the content-addressed store, hash-verified

1179 }
1180
1181 @Override
1182 long squareMod(long a, long m) {
1183 return (a * a) % m;
1184 }
1185 },
1186 /**
1187 * 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