ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PKdG ]i$.hhexp-c.rinu[U:RDoc::AnyMethod[iI"exp:ETI"BigMath::exp;TT: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"LComputes the value of e (the base of natural logarithms) raised to the ;TI"Hpower of +decimal+, to the specified number of digits of precision.;To:RDoc::Markup::BlankLineo; ; [I"0If +decimal+ is infinity, returns Infinity.;T@o; ; [I"&If +decimal+ is NaN, returns NaN.;T: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"4BigMath.exp(decimal, numeric) -> BigDecimal ;T0[I" (p1, p2);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]sBBE-i.rinu[U:RDoc::AnyMethod[iI"E:ETI"BigMath#E;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LComputes e (the base of natural logarithms) to the specified number of ;TI"$digits of precision, +numeric+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"BigMath.E(10).to_s ;TI"9#=> "0.271828182845904523536028752390026306410273e1";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I"E(numeric) -> BigDecimal ;T0[I" (prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]b`slog-c.rinu[U:RDoc::AnyMethod[iI"log:ETI"BigMath::log;TT: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"LComputes the natural logarithm of +decimal+ to the specified number of ;TI"$digits of precision, +numeric+.;To:RDoc::Markup::BlankLineo; ; [I"@If +decimal+ is zero or negative, raises Math::DomainError.;T@o; ; [I"9If +decimal+ is positive infinity, returns Infinity.;T@o; ; [I"&If +decimal+ is NaN, returns NaN.;T: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"4BigMath.log(decimal, numeric) -> BigDecimal ;T0[I" (p1, p2);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]}cos-i.rinu[U:RDoc::AnyMethod[iI"cos:ETI"BigMath#cos;TF: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"KComputes the cosine of +decimal+ to the specified number of digits of ;TI"precision, +numeric+.;To:RDoc::Markup::BlankLineo; ; [I"2If +decimal+ is Infinity or NaN, returns NaN.;T@o:RDoc::Markup::Verbatim; [I")BigMath.cos(BigMath.PI(4), 16).to_s ;TI"@#=> "-0.999999999999999999999999999999856613163740061349e0";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I")cos(decimal, numeric) -> BigDecimal ;T0[I"(x, prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]psin-i.rinu[U:RDoc::AnyMethod[iI"sin:ETI"BigMath#sin;TF: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"IComputes the sine of +decimal+ to the specified number of digits of ;TI"precision, +numeric+.;To:RDoc::Markup::BlankLineo; ; [I"2If +decimal+ is Infinity or NaN, returns NaN.;T@o:RDoc::Markup::Verbatim; [I"*BigMath.sin(BigMath.PI(5)/4, 5).to_s ;TI"5#=> "0.70710678118654752440082036563292800375e0";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I")sin(decimal, numeric) -> BigDecimal ;T0[I"(x, prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]3W44PI-i.rinu[U:RDoc::AnyMethod[iI"PI:ETI"BigMath#PI;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NComputes the value of pi to the specified number of digits of precision, ;TI"+numeric+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"BigMath.PI(10).to_s ;TI":#=> "0.3141592653589793238462643388813853786957412e1";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I"PI(numeric) -> BigDecimal ;T0[I" (prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]Mecdesc-BigMath.rinu[U:RDoc::NormalModule[iI" BigMath:ET@0o:RDoc::Markup::Document: @parts[o;;[: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0o;;[ o:RDoc::Markup::Paragraph;[I"%Provides mathematical functions.;To:RDoc::Markup::BlankLineo; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[ I"require "bigdecimal/math" ;TI" ;TI"include BigMath ;TI" ;TI"&a = BigDecimal((PI(100)/2).to_s) ;TI"8puts sin(a,100) # => 0.99999999999999999999......e0;T: @format0; I"*ext/bigdecimal/lib/bigdecimal/math.rb;T; 0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I"exp;TI" ext/bigdecimal/bigdecimal.c;T[I"log;T@.[I" instance;T[[;[[;[[;[ [I"E;TI"*ext/bigdecimal/lib/bigdecimal/math.rb;T[I"PI;T@<[I" atan;T@<[I"cos;T@<[I"sin;T@<[I" sqrt;T@<[[U:RDoc::Context::Section[i0o;;[; 0; 0[I" ext/bigdecimal/bigdecimal.c;TI"*ext/bigdecimal/lib/bigdecimal/math.rb;T@cRDoc::TopLevelPKdG ].mWW sqrt-i.rinu[U:RDoc::AnyMethod[iI" sqrt:ETI"BigMath#sqrt;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"PComputes the square root of +decimal+ to the specified number of digits of ;TI"precision, +numeric+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I",BigMath.sqrt(BigDecimal('2'), 16).to_s ;TI"+#=> "0.1414213562373095048801688724e1";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I"*sqrt(decimal, numeric) -> BigDecimal ;T0[I"(x, prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]FS atan-i.rinu[U:RDoc::AnyMethod[iI" atan:ETI"BigMath#atan;TF: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OComputes the arctangent of +decimal+ to the specified number of digits of ;TI"precision, +numeric+.;To:RDoc::Markup::BlankLineo; ; [I"&If +decimal+ is NaN, returns NaN.;T@o:RDoc::Markup::Verbatim; [I"-BigMath.atan(BigDecimal('-1'), 16).to_s ;TI"@#=> "-0.785398163397448309615660845819878471907514682065e0";T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/math.rb;T:0@omit_headings_from_table_of_contents_below0I"*atan(decimal, numeric) -> BigDecimal ;T0[I"(x, prec);T@FI" BigMath;TcRDoc::NormalModule00PKdG ]i$.hhexp-c.rinu[PKdG ]sBBE-i.rinu[PKdG ]b`slog-c.rinu[PKdG ]}cos-i.rinu[PKdG ]p sin-i.rinu[PKdG ]3W44 PI-i.rinu[PKdG ]Mecdesc-BigMath.rinu[PKdG ].mWW !sqrt-i.rinu[PKdG ]FS atan-i.rinu[PK