Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
R3
Math
Fraction
GCD
R3.Math.Fraction.GCD C# (CSharp) Method
Fraction Class Documentation
Show file
Open project: roice3/Honeycombs
GCD()
public
method
public
GCD
(
int
a
,
int
b
) :
int
a
int
b
int
return
int
public int GCD( int a, int b ) { while( b > 0 ) { int rem = a % b; a = b; b = rem; } return a; }
Fraction
Equals
Fraction
GCD
GetAsDouble
GetHashCode
Reduce
Reverse
operator