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
/
Complex
/
//opt/alt/ruby21/share/ri/2.1.0/system/Complex/to_f-i.ri
U:RDoc::AnyMethod[iI" to_f:ETI"Complex#to_f;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IReturns the value as a float if possible (the imaginary part should ;TI"be exactly zero).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"#Complex(1, 0).to_f #=> 1.0 ;TI"(Complex(1, 0.0).to_f # RangeError ;TI"'Complex(1, 2).to_f # RangeError;T:@format0: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"cmp.to_f -> float ;T0[ I"();T@FI"Complex;TcRDoc::NormalClass00