File: //usr/share/ri/3.0.0/system/Kernel/BigDecimal-i.ri
U:RDoc::AnyMethod[iI"BigDecimal:ETI"Kernel#BigDecimal;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"$Create a new BigDecimal object.;To:RDoc::Markup::BlankLine o:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"initial;T; [ o;
; [I"<The initial value, as an Integer, a Float, a Rational, ;TI"a BigDecimal, or a String.;T@o;
; [I"GIf it is a String, spaces are ignored and unrecognized characters ;TI"terminate the value.;T@o;;[I"digits;T; [ o;
; [I"GThe number of significant digits, as an Integer. If omitted or 0, ;TI"Ethe number of significant digits is determined from the initial ;TI"value.;T@o;
; [I"DThe actual number of significant digits used in computation is ;TI".usually larger than the specified number.;T@o;;[I"exception;T; [o;
; [I"AWhether an exception should be raised on invalid arguments. ;TI">+true+ by default, if passed +false+, just returns +nil+ ;TI"for invalid.;T@S:RDoc::Markup::Heading:
leveli : textI"Exceptions;T@o;;
;;[ o;;[I"TypeError;T; [o;
; [I"6If the +initial+ type is neither Integer, Float, ;TI"8Rational, nor BigDecimal, this exception is raised.;T@o;;[I"TypeError;T; [o;
; [I"AIf the +digits+ is not an Integer, this exception is raised.;T@o;;[I"ArgumentError;T; [o;
; [I">If +initial+ is a Float, and the +digits+ is larger than ;TI".Float::DIG + 1, this exception is raised.;T@o;;[I"ArgumentError;T; [o;
; [I"?If the +initial+ is a Float or Rational, and the +digits+ ;TI"0value is omitted, this exception is raised.;T:
@fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"2BigDecimal(initial, digits, exception: true)
;T0[ I"(*args);T@VFI"Kernel;TcRDoc::NormalModule00