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.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
BigDecimal /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
423
B
-rw-r--r--
2026-04-07 17:42
%2a%2a-i.ri
643
B
-rw-r--r--
2026-04-07 17:42
%2a-i.ri
241
B
-rw-r--r--
2026-04-07 17:42
%2b%40-i.ri
456
B
-rw-r--r--
2026-04-07 17:42
%2b-i.ri
818
B
-rw-r--r--
2026-04-07 17:42
%2d%40-i.ri
499
B
-rw-r--r--
2026-04-07 17:42
%2d-i.ri
825
B
-rw-r--r--
2026-04-07 17:42
%2f-i.ri
547
B
-rw-r--r--
2026-04-07 17:42
%3c%3d%3e-i.ri
363
B
-rw-r--r--
2026-04-07 17:42
%3c%3d-i.ri
767
B
-rw-r--r--
2026-04-07 17:42
%3c-i.ri
713
B
-rw-r--r--
2026-04-07 17:42
%3d%3d%3d-i.ri
645
B
-rw-r--r--
2026-04-07 17:42
%3d%3d-i.ri
659
B
-rw-r--r--
2026-04-07 17:42
%3e%3d-i.ri
748
B
-rw-r--r--
2026-04-07 17:42
%3e-i.ri
692
B
-rw-r--r--
2026-04-07 17:42
_dump-i.ri
617
B
-rw-r--r--
2026-04-07 17:42
_load-c.ri
364
B
-rw-r--r--
2026-04-07 17:42
abs-i.ri
498
B
-rw-r--r--
2026-04-07 17:42
add-i.ri
1.13
KB
-rw-r--r--
2026-04-07 17:42
as_json-i.ri
408
B
-rw-r--r--
2026-04-07 17:42
cdesc-BigDecimal.ri
11.5
KB
-rw-r--r--
2026-04-07 17:42
ceil-i.ri
901
B
-rw-r--r--
2026-04-07 17:42
clone-i.ri
274
B
-rw-r--r--
2026-04-07 17:42
coerce-i.ri
892
B
-rw-r--r--
2026-04-07 17:42
div-i.ri
1.31
KB
-rw-r--r--
2026-04-07 17:42
divmod-i.ri
860
B
-rw-r--r--
2026-04-07 17:42
double_fig-c.ri
258
B
-rw-r--r--
2026-04-07 17:42
dup-i.ri
259
B
-rw-r--r--
2026-04-07 17:42
eql%3f-i.ri
647
B
-rw-r--r--
2026-04-07 17:42
exponent-i.ri
533
B
-rw-r--r--
2026-04-07 17:42
finite%3f-i.ri
374
B
-rw-r--r--
2026-04-07 17:42
fix-i.ri
336
B
-rw-r--r--
2026-04-07 17:42
floor-i.ri
905
B
-rw-r--r--
2026-04-07 17:42
frac-i.ri
341
B
-rw-r--r--
2026-04-07 17:42
hash-i.ri
666
B
-rw-r--r--
2026-04-07 17:42
infinite%3f-i.ri
389
B
-rw-r--r--
2026-04-07 17:42
inspect-i.ri
462
B
-rw-r--r--
2026-04-07 17:42
interpret_loosely-c.ri
274
B
-rw-r--r--
2026-04-07 17:42
json_create-c.ri
427
B
-rw-r--r--
2026-04-07 17:42
limit-c.ri
759
B
-rw-r--r--
2026-04-07 17:42
mode-c.ri
6.64
KB
-rw-r--r--
2026-04-07 17:42
modulo-i.ri
404
B
-rw-r--r--
2026-04-07 17:42
mult-i.ri
1.2
KB
-rw-r--r--
2026-04-07 17:42
n_significant_digits-i.ri
1009
B
-rw-r--r--
2026-04-07 17:42
nan%3f-i.ri
352
B
-rw-r--r--
2026-04-07 17:42
nonzero%3f-i.ri
371
B
-rw-r--r--
2026-04-07 17:42
power-i.ri
493
B
-rw-r--r--
2026-04-07 17:42
precision-i.ri
867
B
-rw-r--r--
2026-04-07 17:42
precision_scale-i.ri
573
B
-rw-r--r--
2026-04-07 17:42
precs-i.ri
734
B
-rw-r--r--
2026-04-07 17:42
quo-i.ri
887
B
-rw-r--r--
2026-04-07 17:42
remainder-i.ri
448
B
-rw-r--r--
2026-04-07 17:42
round-i.ri
1.29
KB
-rw-r--r--
2026-04-07 17:42
save_exception_mode-c.ri
887
B
-rw-r--r--
2026-04-07 17:42
save_limit-c.ri
654
B
-rw-r--r--
2026-04-07 17:42
save_rounding_mode-c.ri
727
B
-rw-r--r--
2026-04-07 17:42
scale-i.ri
847
B
-rw-r--r--
2026-04-07 17:42
sign-i.ri
1.31
KB
-rw-r--r--
2026-04-07 17:42
split-i.ri
1.34
KB
-rw-r--r--
2026-04-07 17:42
sqrt-i.ri
419
B
-rw-r--r--
2026-04-07 17:42
sub-i.ri
743
B
-rw-r--r--
2026-04-07 17:42
to_d-i.ri
519
B
-rw-r--r--
2026-04-07 17:42
to_digits-i.ri
643
B
-rw-r--r--
2026-04-07 17:42
to_f-i.ri
462
B
-rw-r--r--
2026-04-07 17:42
to_i-i.ri
436
B
-rw-r--r--
2026-04-07 17:42
to_int-i.ri
438
B
-rw-r--r--
2026-04-07 17:42
to_json-i.ri
323
B
-rw-r--r--
2026-04-07 17:42
to_r-i.ri
319
B
-rw-r--r--
2026-04-07 17:42
to_s-i.ri
1.4
KB
-rw-r--r--
2026-04-07 17:42
truncate-i.ri
979
B
-rw-r--r--
2026-04-07 17:42
zero%3f-i.ri
346
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::NormalClass[iI"BigDecimal:ET@I"Numeric;To:RDoc::Markup::Document:@parts[o;;[Uo:RDoc::Markup::Paragraph;[I"OBigDecimal provides arbitrary-precision floating point decimal arithmetic.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Introduction;T@o; ;[I"ORuby provides built-in support for arbitrary precision integer arithmetic.;T@o; ;[I"For example:;T@o:RDoc::Markup::Verbatim;[I"*42**13 #=> 1265437718438866624512 ;T:@format0o; ;[I"RBigDecimal provides similar support for very large or very accurate floating ;TI"point numbers.;T@o; ;[ I"KDecimal arithmetic is also useful for general calculation, because it ;TI"Pprovides the correct answers people expect--whereas normal binary floating ;TI"Opoint arithmetic often introduces subtle errors because of the conversion ;TI" between base 10 and base 2.;T@o; ;[I"For example, try:;T@o;;[ I" sum = 0 ;TI"10_000.times do ;TI" sum = sum + 0.0001 ;TI" end ;TI"&print sum #=> 0.9999999999999062 ;T;0o; ;[I"'and contrast with the output from:;T@o;;[I"require 'bigdecimal' ;TI" ;TI"sum = BigDecimal("0") ;TI"10_000.times do ;TI"( sum = sum + BigDecimal("0.0001") ;TI" end ;TI"print sum #=> 0.1E1 ;T;0o; ;[I"Similarly:;T@o;;[I"K(BigDecimal("1.2") - BigDecimal("1.0")) == BigDecimal("0.2") #=> true ;TI" ;TI""(1.2 - 1.0) == 0.2 #=> false ;T;0S;;i; I"A Note About Precision;T@o; ;[I"@For a calculation using a \BigDecimal and another +value+, ;TI"@the precision of the result depends on the type of +value+:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o; ;[I"If +value+ is a \Float, ;TI"%the precision is Float::DIG + 1.;To;;0;[o; ;[I"LIf +value+ is a \Rational, the precision is larger than Float::DIG + 1.;To;;0;[o; ;[I"NIf +value+ is a \BigDecimal, the precision is +value+'s precision in the ;TI":internal representation, which is platform-dependent.;To;;0;[o; ;[I"bIf +value+ is other object, the precision is determined by the result of +BigDecimal(value)+.;T@S;;i; I"4Special features of accurate decimal arithmetic;T@o; ;[I"KBecause BigDecimal is more accurate than normal binary floating point ;TI"1arithmetic, it requires some special values.;T@S;;i; I" Infinity;T@o; ;[I"NBigDecimal sometimes needs to return infinity, for example if you divide ;TI"a value by zero.;T@o;;[I"9BigDecimal("1.0") / BigDecimal("0.0") #=> Infinity ;TI";BigDecimal("-1.0") / BigDecimal("0.0") #=> -Infinity ;T;0o; ;[I"HYou can represent infinite numbers to BigDecimal using the strings ;TI";<code>'Infinity'</code>, <code>'+Infinity'</code> and ;TI".<code>'-Infinity'</code> (case-sensitive);T@S;;i; I"Not a Number;T@o; ;[I"OWhen a computation results in an undefined value, the special value +NaN+ ;TI"&(for 'not a number') is returned.;T@o; ;[I" Example:;T@o;;[I"3BigDecimal("0.0") / BigDecimal("0.0") #=> NaN ;T;0o; ;[I"*You can also create undefined values.;T@o; ;[I"PNaN is never considered to be the same as any other value, even NaN itself:;T@o;;[I"n = BigDecimal('NaN') ;TI"n == 0.0 #=> false ;TI"n == n #=> false ;T;0S;;i; I"Positive and negative zero;T@o; ;[I"QIf a computation results in a value which is too small to be represented as ;TI"Pa BigDecimal within the currently specified limits of precision, zero must ;TI"be returned.;T@o; ;[I"QIf the value which is too small to be represented is negative, a BigDecimal ;TI"(value of negative zero is returned.;T@o;;[I":BigDecimal("1.0") / BigDecimal("-Infinity") #=> -0.0 ;T;0o; ;[I"DIf the value is positive, a value of positive zero is returned.;T@o;;[I"8BigDecimal("1.0") / BigDecimal("Infinity") #=> 0.0 ;T;0o; ;[I"B(See BigDecimal.mode for how to specify limits of precision.);T@o; ;[I"RNote that +-0.0+ and +0.0+ are considered to be the same for the purposes of ;TI"comparison.;T@o; ;[I"ONote also that in mathematics, there is no particular concept of negative ;TI":or positive zero; true mathematical zero has no sign.;T@S;;i; I"bigdecimal/util;T@o; ;[I"BWhen you require +bigdecimal/util+, the #to_d method will be ;TI"Favailable on BigDecimal and the native Integer, Float, Rational, ;TI"and String classes:;T@o;;[I"require 'bigdecimal/util' ;TI" ;TI"!42.to_d # => 0.42e2 ;TI" 0.5.to_d # => 0.5e0 ;TI""(2/3r).to_d(3) # => 0.667e0 ;TI" "0.5".to_d # => 0.5e0 ;T;0S;;i; I"License;T@o; ;[I"FCopyright (C) 2002 by Shigeo Kobayashi <shigeo@tinyforest.gr.jp>.;T@o; ;[I"FBigDecimal is released under the Ruby and 2-clause BSD licenses. ;TI"!See LICENSE.txt for details.;T@o; ;[I"=Maintained by mrkn <mrkn@mrkn.jp> and ruby-core members.;T@o; ;[I"QDocumented by zzak <zachary@zacharyscott.net>, mathew <meta@pobox.com>, and ;TI"many other contributors.;T: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"*ext/bigdecimal/lib/bigdecimal/util.rb;T;0o;;[ ;I"(ext/json/lib/json/add/bigdecimal.rb;T;0;0;0[ [U:RDoc::Constant[i I"VERSION;TI"BigDecimal::VERSION;T:public0o;;[o; ;[I"&The version of bigdecimal library;T;@�;0@�@cRDoc::NormalClass0U;[i I" BASE;TI"BigDecimal::BASE;T;0o;;[o; ;[ I"IBase value used in internal calculations. On a 32 bit system, BASE ;TI"Jis 10000, indicating that calculation is done in groups of 4 digits. ;TI"J(If it were larger, BASE**2 wouldn't fit in 32 bits, so you couldn't ;TI"Kguarantee that two groups could always be multiplied together without ;TI"overflow.);T;@�;0@�@@�0U;[i I"EXCEPTION_ALL;TI"BigDecimal::EXCEPTION_ALL;T;0o;;[o; ;[I"EDetermines whether overflow, underflow or zero divide result in ;TI"4an exception being thrown. See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"EXCEPTION_NaN;TI"BigDecimal::EXCEPTION_NaN;T;0o;;[o; ;[I"GDetermines what happens when the result of a computation is not a ;TI"'number (NaN). See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"EXCEPTION_INFINITY;TI"#BigDecimal::EXCEPTION_INFINITY;T;0o;;[o; ;[I"ADetermines what happens when the result of a computation is ;TI"$infinity. See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"EXCEPTION_UNDERFLOW;TI"$BigDecimal::EXCEPTION_UNDERFLOW;T;0o;;[o; ;[I"DDetermines what happens when the result of a computation is an ;TI"Kunderflow (a result too small to be represented). See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"EXCEPTION_OVERFLOW;TI"#BigDecimal::EXCEPTION_OVERFLOW;T;0o;;[o; ;[I"DDetermines what happens when the result of a computation is an ;TI"Joverflow (a result too large to be represented). See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"EXCEPTION_ZERODIVIDE;TI"%BigDecimal::EXCEPTION_ZERODIVIDE;T;0o;;[o; ;[I"CDetermines what happens when a division by zero is performed. ;TI"See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"ROUND_MODE;TI"BigDecimal::ROUND_MODE;T;0o;;[o; ;[I"GDetermines what happens when a result must be rounded in order to ;TI">fit in the appropriate number of significant digits. See ;TI"BigDecimal.mode.;T;@�;0@�@@�0U;[i I" ROUND_UP;TI"BigDecimal::ROUND_UP;T;0o;;[o; ;[I"AIndicates that values should be rounded away from zero. See ;TI"BigDecimal.mode.;T;@�;0@�@@�0U;[i I"ROUND_DOWN;TI"BigDecimal::ROUND_DOWN;T;0o;;[o; ;[I"?Indicates that values should be rounded towards zero. See ;TI"BigDecimal.mode.;T;@�;0@�@@�0U;[i I"ROUND_HALF_UP;TI"BigDecimal::ROUND_HALF_UP;T;0o;;[o; ;[I"KIndicates that digits >= 5 should be rounded up, others rounded down. ;TI"See BigDecimal.mode.;T@;@�;0@�@@�0U;[i I"ROUND_HALF_DOWN;TI" BigDecimal::ROUND_HALF_DOWN;T;0o;;[o; ;[I"KIndicates that digits >= 6 should be rounded up, others rounded down. ;TI"See BigDecimal.mode.;T;@�;0@�@@�0U;[i I"ROUND_CEILING;TI"BigDecimal::ROUND_CEILING;T;0o;;[o; ;[I"2Round towards +Infinity. See BigDecimal.mode.;T@;@�;0@�@@�0U;[i I"ROUND_FLOOR;TI"BigDecimal::ROUND_FLOOR;T;0o;;[o; ;[I"2Round towards -Infinity. See BigDecimal.mode.;T@;@�;0@�@@�0U;[i I"ROUND_HALF_EVEN;TI" BigDecimal::ROUND_HALF_EVEN;T;0o;;[o; ;[I":Round towards the even neighbor. See BigDecimal.mode.;T@;@�;0@�@@�0U;[i I" SIGN_NaN;TI"BigDecimal::SIGN_NaN;T;0o;;[o; ;[I"AIndicates that a value is not a number. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_POSITIVE_ZERO;TI"#BigDecimal::SIGN_POSITIVE_ZERO;T;0o;;[o; ;[I"7Indicates that a value is +0. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_NEGATIVE_ZERO;TI"#BigDecimal::SIGN_NEGATIVE_ZERO;T;0o;;[o; ;[I"7Indicates that a value is -0. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_POSITIVE_FINITE;TI"%BigDecimal::SIGN_POSITIVE_FINITE;T;0o;;[o; ;[I"HIndicates that a value is positive and finite. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_NEGATIVE_FINITE;TI"%BigDecimal::SIGN_NEGATIVE_FINITE;T;0o;;[o; ;[I"HIndicates that a value is negative and finite. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_POSITIVE_INFINITE;TI"'BigDecimal::SIGN_POSITIVE_INFINITE;T;0o;;[o; ;[I"JIndicates that a value is positive and infinite. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I"SIGN_NEGATIVE_INFINITE;TI"'BigDecimal::SIGN_NEGATIVE_INFINITE;T;0o;;[o; ;[I"JIndicates that a value is negative and infinite. See BigDecimal.sign.;T@;@�;0@�@@�0U;[i I" INFINITY;TI"BigDecimal::INFINITY;T;0o;;[o; ;[I"Special value constants;T@;@�;0@�@@�0U;[i I"NAN;TI"BigDecimal::NAN;T;0o;;[ ;@�;0@�@@�0[ [[I" class;T[[;[ [:protected[ [:private[[I" _load;TI" ext/bigdecimal/bigdecimal.c;T[I"double_fig;T@�[I"interpret_loosely;T@�[I"json_create;TI"(ext/json/lib/json/add/bigdecimal.rb;T[I" limit;T@�[I" mode;T@�[I"save_exception_mode;T@�[I"save_limit;T@�[I"save_rounding_mode;T@�[I" instance;T[[;[ [;[ [;[B[I"%;T@�[I"*;T@�[I"**;T@�[I"+;T@�[I"+@;T@�[I"-;T@�[I"-@;T@�[I"/;T@�[I"<;T@�[I"<=;T@�[I"<=>;T@�[I"==;T@�[I"===;T@�[I">;T@�[I">=;T@�[I" _dump;T@�[I"abs;T@�[I"add;T@�[I"as_json;T@�[I" ceil;T@�[I" clone;T@�[I"coerce;T@�[I"div;T@�[I"divmod;T@�[I"dup;T@�[I" eql?;T@�[I" exponent;T@�[I"finite?;T@�[I"fix;T@�[I" floor;T@�[I" frac;T@�[I" hash;T@�[I"infinite?;T@�[I"inspect;T@�[I"modulo;T@�[I" mult;T@�[I"n_significant_digits;T@�[I" nan?;T@�[I" nonzero?;T@�[I" power;T@�[I"precision;T@�[I"precision_scale;T@�[I" precs;T@�[I"quo;T@�[I"remainder;T@�[I" round;T@�[I" scale;T@�[I" sign;T@�[I" split;T@�[I" sqrt;T@�[I"sub;T@�[I" to_d;TI"*ext/bigdecimal/lib/bigdecimal/util.rb;T[I"to_digits;T@O[I" to_f;T@�[I" to_i;T@�[I"to_int;T@�[I"to_json;T@�[I" to_r;T@�[I" to_s;T@�[I" truncate;T@�[I" zero?;T@�[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I" ext/bigdecimal/bigdecimal.c;TI"*ext/bigdecimal/lib/bigdecimal/util.rb;TI"(ext/json/lib/json/add/bigdecimal.rb;T@�cRDoc::TopLevel