MCPcopy Create free account
hub / github.com/LUX-Core/lux / Compare

Function Compare

src/cryptopp/integer.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82inline static int Compare(const word *A, const word *B, size_t N)
83{
84 while (N--)
85 if (A[N] > B[N])
86 return 1;
87 else if (A[N] < B[N])
88 return -1;
89
90 return 0;
91}
92
93inline static int Increment(word *A, size_t N, word B=1)
94{

Callers 4

integer.cppFile · 0.85
SeekMethod · 0.85
FindShortestSeparatorMethod · 0.85
CompareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected