⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Float
/
View File Name :
%3c%3d%3e-i.ri
U:RDoc::AnyMethod[iI"<=>:ETI"Float#<=>;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I":Returns a value that depends on the numeric relation ;TI" between +self+ and +other+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"(-1, if +self+ is less than +other+.;To;;0; [o; ; [I"&0, if +self+ is equal to +other+.;To;;0; [o; ; [I"*1, if +self+ is greater than +other+.;To;;0; [o; ; [I"1+nil+, if the two values are incommensurate.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"#2.0 <=> 2 # => 0 ;TI"#2.0 <=> 2.0 # => 0 ;TI"#2.0 <=> Rational(2, 1) # => 0 ;TI"#2.0 <=> Complex(2, 0) # => 0 ;TI"#2.0 <=> 1.9 # => 1 ;TI"$2.0 <=> 2.1 # => -1 ;TI"%2.0 <=> 'foo' # => nil ;T:@format0o; ; [I">This is the basis for the tests in the Comparable module.;T@o; ; [I"R<tt>Float::NAN <=> Float::NAN</tt> returns an implementation-dependent value.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"*self <=> other -> -1, 0, +1, or nil ;T0[ I" (p1);T@8FI" Float;TcRDoc::NormalClass00