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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Math
/
//opt/alt/ruby21/share/ri/2.1.0/system/Math/lgamma-c.ri
U:RDoc::AnyMethod[iI"lgamma:ETI"Math::lgamma;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JCalculates the logarithmic gamma of +x+ and the sign of gamma of +x+.;To:RDoc::Markup::BlankLine o; ; [I"Math.lgamma(x) is same as;To:RDoc::Markup::Verbatim; [I"?[Math.log(Math.gamma(x).abs), Math.gamma(x) < 0 ? -1 : 1] ;T:@format0o; ; [I"5but avoid overflow by Math.gamma(x) for large x.;T@o;; [I"%Math.lgamma(0) #=> [Infinity, 1];T; 0: @fileI"math.c;T:0@omit_headings_from_table_of_contents_below0I")Math.lgamma(x) -> [float, -1 or 1] ;T0[ I" (p1);T@FI" Math;FcRDoc::NormalModule00