MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / gcd_compute

Function gcd_compute

Source/MediaInfo/TimeCode.cpp:86–95  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

84
85//---------------------------------------------------------------------------
86static int64_t gcd_compute(int64_t a, int64_t b)
87{
88 while (b)
89 {
90 unsigned t = b;
91 b = a % b;
92 a = t;
93 }
94 return a;
95}
96
97//---------------------------------------------------------------------------
98TimeCode& TimeCode::operator +=(const TimeCode& b)

Callers 1

TimeCode.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected