Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Integer
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Integer/lcm-i.ri
U:RDoc::AnyMethod[iI"lcm:ETI"Integer#lcm;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Returns the least common multiple of the two integers. ;TI"FThe result is always positive. 0.lcm(x) and x.lcm(0) return zero.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I")36.lcm(60) #=> 180 ;TI"'2.lcm(2) #=> 2 ;TI"(3.lcm(-7) #=> 21 ;TI"A((1<<31)-1).lcm((1<<61)-1) #=> 4951760154835678088235319297;T:@format0: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I"%int.lcm(other_int) -> integer ;T0[ I" (p1);T@FI"Integer;TcRDoc::NormalClass00