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::AnyMethod[iI" mode:ETI"BigDecimal::mode;TT:privateo:RDoc::Markup::Document:@parts[Jo:RDoc::Markup::Paragraph; [I"7Returns an integer representing the mode settings ;TI")for exception handling and rounding.;To:RDoc::Markup::BlankLine o; ; [I",These modes control exception handling:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I" \BigDecimal::EXCEPTION_NaN.;To;;0; [o; ; [I"%\BigDecimal::EXCEPTION_INFINITY.;To;;0; [o; ; [I"&\BigDecimal::EXCEPTION_UNDERFLOW.;To;;0; [o; ; [I"%\BigDecimal::EXCEPTION_OVERFLOW.;To;;0; [o; ; [I"'\BigDecimal::EXCEPTION_ZERODIVIDE.;To;;0; [o; ; [I" \BigDecimal::EXCEPTION_ALL.;T@o; ; [I"1Values for +setting+ for exception handling:;T@o;; ;;[o;;0; [o; ; [I"-+true+: sets the given +mode+ to +true+.;To;;0; [o; ; [I"/+false+: sets the given +mode+ to +false+.;To;;0; [o; ; [I".+nil+: does not modify the mode settings.;T@o; ; [I"7You can use method BigDecimal.save_exception_mode ;TI"Lto temporarily change, and then automatically restore, exception modes.;T@o; ; [I";For clarity, some examples below begin by setting all ;TI" exception modes to +false+.;T@o; ; [I"<This mode controls the way rounding is to be performed:;T@o;; ;;[o;;0; [o; ; [I"\BigDecimal::ROUND_MODE;T@o; ; [I"6You can use method BigDecimal.save_rounding_mode ;TI"Nto temporarily change, and then automatically restore, the rounding mode.;T@o; ; [I"<b>NaNs</b>;T@o; ; [I"7Mode \BigDecimal::EXCEPTION_NaN controls behavior ;TI"'when a \BigDecimal NaN is created.;T@o; ; [I"Settings:;T@o;; ;;[o;;0; [o; ; [I";+false+ (default): Returns <tt>BigDecimal('NaN')</tt>.;To;;0; [o; ; [I"%+true+: Raises FloatDomainError.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [ I">BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"@BigDecimal('NaN') # => NaN ;TI">BigDecimal.mode(BigDecimal::EXCEPTION_NaN, true) # => 2 ;TI"1BigDecimal('NaN') # Raises FloatDomainError ;T:@format0o; ; [I"<b>Infinities</b>;T@o; ; [I"<Mode \BigDecimal::EXCEPTION_INFINITY controls behavior ;TI":when a \BigDecimal Infinity or -Infinity is created. ;TI"Settings:;T@o;; ;;[o;;0; [o; ; [I"@+false+ (default): Returns <tt>BigDecimal('Infinity')</tt> ;TI")or <tt>BigDecimal('-Infinity')</tt>.;To;;0; [o; ; [I"%+true+: Raises FloatDomainError.;T@o; ; [I"Examples:;T@o;; [I"BBigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"IBigDecimal('Infinity') # => Infinity ;TI"JBigDecimal('-Infinity') # => -Infinity ;TI"BBigDecimal.mode(BigDecimal::EXCEPTION_INFINITY, true) # => 1 ;TI"7BigDecimal('Infinity') # Raises FloatDomainError ;TI"7BigDecimal('-Infinity') # Raises FloatDomainError ;T;0o; ; [I"<b>Underflow</b>;T@o; ; [I"=Mode \BigDecimal::EXCEPTION_UNDERFLOW controls behavior ;TI"*when a \BigDecimal underflow occurs. ;TI"Settings:;T@o;; ;;[o;;0; [o; ; [I"9+false+ (default): Returns <tt>BigDecimal('0')</tt> ;TI")or <tt>BigDecimal('-Infinity')</tt>.;To;;0; [o; ; [I"%+true+: Raises FloatDomainError.;T@o; ; [I"Examples:;T@o;; [ I"CBigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"def flow_under ;TI" x = BigDecimal('0.1') ;TI" 100.times { x *= x } ;TI" end ;TI"Eflow_under # => 100 ;TI"CBigDecimal.mode(BigDecimal::EXCEPTION_UNDERFLOW, true) # => 4 ;TI"*flow_under # Raises FloatDomainError ;T;0o; ; [I"<b>Overflow</b>;T@o; ; [I"<Mode \BigDecimal::EXCEPTION_OVERFLOW controls behavior ;TI")when a \BigDecimal overflow occurs. ;TI"Settings:;T@o;; ;;[o;;0; [o; ; [I"@+false+ (default): Returns <tt>BigDecimal('Infinity')</tt> ;TI")or <tt>BigDecimal('-Infinity')</tt>.;To;;0; [o; ; [I"%+true+: Raises FloatDomainError.;T@o; ; [I"Examples:;T@o;; [ I"BBigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"def flow_over ;TI" x = BigDecimal('10') ;TI" 100.times { x *= x } ;TI" end ;TI"Dflow_over # => 100 ;TI"BBigDecimal.mode(BigDecimal::EXCEPTION_OVERFLOW, true) # => 1 ;TI")flow_over # Raises FloatDomainError ;T;0o; ; [I"<b>Zero Division</b>;T@o; ; [I">Mode \BigDecimal::EXCEPTION_ZERODIVIDE controls behavior ;TI""when a zero-division occurs. ;TI"Settings:;T@o;; ;;[o;;0; [o; ; [I"@+false+ (default): Returns <tt>BigDecimal('Infinity')</tt> ;TI")or <tt>BigDecimal('-Infinity')</tt>.;To;;0; [o; ; [I"%+true+: Raises FloatDomainError.;T@o; ; [I"Examples:;T@o;; [I"DBigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"one = BigDecimal('1') ;TI"zero = BigDecimal('0') ;TI"Kone / zero # => Infinity ;TI"EBigDecimal.mode(BigDecimal::EXCEPTION_ZERODIVIDE, true) # => 16 ;TI"*one / zero # Raises FloatDomainError ;T;0o; ; [I"<b>All Exceptions</b>;T@o; ; [I"?Mode \BigDecimal::EXCEPTION_ALL controls all of the above:;T@o;; [I">BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0 ;TI"?BigDecimal.mode(BigDecimal::EXCEPTION_ALL, true) # => 23 ;T;0o; ; [I"<b>Rounding</b>;T@o; ; [I"PMode \BigDecimal::ROUND_MODE controls the way rounding is to be performed; ;TI"its +setting+ values are:;T@o;; ;;[o;;0; [o; ; [I"'+ROUND_UP+: Round away from zero. ;TI"Aliased as +:up+.;To;;0; [o; ; [I"&+ROUND_DOWN+: Round toward zero. ;TI"(Aliased as +:down+ and +:truncate+.;To;;0; [o; ; [I"9+ROUND_HALF_UP+: Round toward the nearest neighbor; ;TI"=if the neighbors are equidistant, round away from zero. ;TI"*Aliased as +:half_up+ and +:default+.;To;;0; [o; ; [I";+ROUND_HALF_DOWN+: Round toward the nearest neighbor; ;TI":if the neighbors are equidistant, round toward zero. ;TI"Aliased as +:half_down+.;To;;0; [o; ; [I"O+ROUND_HALF_EVEN+ (Banker's rounding): Round toward the nearest neighbor; ;TI"Gif the neighbors are equidistant, round toward the even neighbor. ;TI"+Aliased as +:half_even+ and +:banker+.;To;;0; [o; ; [I"6+ROUND_CEILING+: Round toward positive infinity. ;TI"'Aliased as +:ceiling+ and +:ceil+.;To;;0; [o; ; [I"4+ROUND_FLOOR+: Round toward negative infinity. ;TI"Aliased as +:floor:+.;T: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"5BigDecimal.mode(mode, setting = nil) -> integer ;T0[ I"(p1, p2 = v2);T@;FI"BigDecimal;TcRDoc::NormalClass00