Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenShot/libopenshot
/ Reciprocal
Method
Reciprocal
src/Fraction.cpp:78–82 ·
view source on GitHub ↗
Return the reciprocal as a new Fraction
Source
from the content-addressed store, hash-verified
76
77
// Return the reciprocal as a new Fraction
78
Fraction Fraction::Reciprocal() const
79
{
80
// flip the fraction
81
return Fraction(den, num);
82
}
Callers
13
operator/
Method · 0.80
Open
Method · 0.80
FFmpegReader.cpp
File · 0.80
SetVideoOptions
Method · 0.80
WriteFrame
Method · 0.80
FrameNToTime
Method · 0.80
Timeline
Method · 0.80
init
Method · 0.80
Display
Method · 0.80
GetSamplesPerFrame
Method · 0.80
Save
Method · 0.80
Thumbnail
Method · 0.80
Calls
1
Fraction
Class · 0.85
Tested by
no test coverage detected