D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Integer
/
Filename :
lcm-i.ri
back
Copy
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