Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Integer
/
//opt/alt/ruby27/share/ri/system/Integer/gcd-i.ri
U:RDoc::AnyMethod[iI"gcd:ETI"Integer#gcd;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Returns the greatest common divisor of the two integers. ;TI"GThe result is always positive. 0.gcd(x) and x.gcd(0) return x.abs.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"(36.gcd(60) #=> 12 ;TI"'2.gcd(2) #=> 2 ;TI"'3.gcd(-7) #=> 1 ;TI"&((1<<31)-1).gcd((1<<61)-1) #=> 1;T:@format0: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I"%int.gcd(other_int) -> integer ;T0[ I" (p1);T@FI"Integer;TcRDoc::NormalClass00