ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PK~]S%25-i.rinu[U:RDoc::AnyMethod[iI"%:ETI" Float#%;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I" 104.21 ;TI"26543.21.modulo(137.24) #=> 92.9299999999996;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"#float % other -> float;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]FI to_r-i.rinu[U:RDoc::AnyMethod[iI" to_r:ETI"Float#to_r;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"%Returns the value as a rational.;To:RDoc::Markup::BlankLineo; ; [I"ANOTE: 0.3.to_r isn't the same as '0.3'.to_r. The latter is ;TI"8equivalent to '3/10'.to_r, but the former isn't so.;T@o:RDoc::Markup::Verbatim; [ I"2.0.to_r #=> (2/1) ;TI"2.5.to_r #=> (5/2) ;TI"-0.75.to_r #=> (-3/4) ;TI"0.0.to_r #=> (0/1) ;T: @format0o; ; [I"See rationalize.;T: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I"flt.to_r -> rational ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]C PP phase-i.rinu[U:RDoc::AnyMethod[iI" phase:ETI"Float#phase;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Returns 0 if the value is positive, pi otherwise.;T: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"flo.phase -> 0 or float;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]x round-i.rinu[U:RDoc::AnyMethod[iI" round:ETI"Float#round;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"NRounds +float+ to a given precision in decimal digits (default 0 digits).;To:RDoc::Markup::BlankLineo; ; [I"PPrecision may be negative. Returns a floating point number when +ndigits+ ;TI"is more than zero.;T@o:RDoc::Markup::Verbatim; [I"1.4.round #=> 1 ;TI"1.5.round #=> 2 ;TI"1.6.round #=> 2 ;TI"(-1.5).round #=> -2 ;TI" ;TI"!1.234567.round(2) #=> 1.23 ;TI""1.234567.round(3) #=> 1.235 ;TI"#1.234567.round(4) #=> 1.2346 ;TI"$1.234567.round(5) #=> 1.23457 ;TI" ;TI"34567.89.round(-5) #=> 0 ;TI""34567.89.round(-4) #=> 30000 ;TI""34567.89.round(-3) #=> 35000 ;TI""34567.89.round(-2) #=> 34600 ;TI""34567.89.round(-1) #=> 34570 ;TI""34567.89.round(0) #=> 34568 ;TI"$34567.89.round(1) #=> 34567.9 ;TI"%34567.89.round(2) #=> 34567.89 ;TI"$34567.89.round(3) #=> 34567.89;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"2float.round([ndigits]) -> integer or float ;T0[I"(p1 = v1);T@(FI" Float;TcRDoc::NormalClass00PK~]enq inspect-i.rinu[U:RDoc::AnyMethod[iI" inspect:ETI"Float#inspect;TF: publico:RDoc::Markup::Document: @parts[: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@ FI" Float;TcRDoc::NormalClass0[@FI" to_s;TPK~]-gZZ fdiv-i.rinu[U:RDoc::AnyMethod[iI" fdiv:ETI"Float#fdiv;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";Returns float / numeric, same as Float#/.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"#float.fdiv(numeric) -> float;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]`JLLarg-i.rinu[U:RDoc::AnyMethod[iI"arg:ETI"Float#arg;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Returns 0 if the value is positive, pi otherwise.;T: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"flo.arg -> 0 or float;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]rationalize-i.rinu[U:RDoc::AnyMethod[iI"rationalize:ETI"Float#rationalize;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"GReturns a simpler approximation of the value (flt-|eps| <= result ;TI"I<= flt+|eps|). if the optional eps is not given, it will be chosen ;TI"automatically.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I")0.3.rationalize #=> (3/10) ;TI".1.333.rationalize #=> (1333/1000) ;TI"(1.333.rationalize(0.01) #=> (4/3) ;T: @format0o; ; [I"See to_r.;T: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I"*flt.rationalize([eps]) -> rational ;T0[I"(p1 = v1);T@FI" Float;TcRDoc::NormalClass00PK~]!4PP angle-i.rinu[U:RDoc::AnyMethod[iI" angle:ETI"Float#angle;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Returns 0 if the value is positive, pi otherwise.;T: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"flo.angle -> 0 or float;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]c eql%3f-i.rinu[U:RDoc::AnyMethod[iI" eql?:ETI"Float#eql?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"MReturns +true+ only if +obj+ is a Float with the same value as +float+. ;TI"BContrast this with Float#==, which performs type conversions.;To:RDoc::Markup::BlankLineo; ; [I"CThe result of NaN.eql?(NaN) is undefined, so the ;TI"0implementation-dependent value is returned.;T@o:RDoc::Markup::Verbatim; [I"1.0.eql?(1) #=> false;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"(float.eql?(obj) -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]3K̢finite%3f-i.rinu[U:RDoc::AnyMethod[iI" finite?:ETI"Float#finite?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"PReturns +true+ if +float+ is a valid IEEE floating point number (it is not ;TI"*infinite, and Float#nan? is +false+).;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float.finite? -> true or false ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]*mmagnitude-i.rinu[U:RDoc::AnyMethod[iI"magnitude:ETI"Float#magnitude;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Returns the absolute value of +float+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"(-34.56).abs #=> 34.56 ;TI"-34.56.abs #=> 34.56;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.magnitude -> float;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]yy dclone-i.rinu[U:RDoc::AnyMethod[iI" dclone:EFI"Float#dclone;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Bprovides a unified +clone+ operation, for REXML::XPathParser ;TI"(to use across multiple Object types;T: @fileI"lib/rexml/xpath_parser.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Float;TcRDoc::NormalClass00PK~]cKaa coerce-i.rinu[U:RDoc::AnyMethod[iI" coerce:ETI"Float#coerce;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OReturns an array with both a +numeric+ and a +float+ represented as Float ;TI" objects.;To:RDoc::Markup::BlankLineo; ; [I";This is achieved by converting a +numeric+ to a Float.;T@o:RDoc::Markup::Verbatim; [I"(1.2.coerce(3) #=> [3.0, 1.2] ;TI"'2.5.coerce(1.1) #=> [1.1, 2.5];T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float.coerce(numeric) -> array ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]hSU to_i-i.rinu[U:RDoc::AnyMethod[iI" to_i:ETI"Float#to_i;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Returns the +float+ truncated to an Integer.;To:RDoc::Markup::BlankLineo; ; [I"0Synonyms are #to_i, #to_int, and #truncate.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I" integer float.to_int -> integer;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]!RZYY%2a-i.rinu[U:RDoc::AnyMethod[iI"*:ETI" Float#*;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EReturns a new float which is the product of +float+ and +other+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float * other -> float ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]טx nan%3f-i.rinu[U:RDoc::AnyMethod[iI" nan?:ETI"Float#nan?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns +true+ if +float+ is an invalid IEEE floating point number.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"a = -1.0 #=> -1.0 ;TI"a.nan? #=> false ;TI"a = 0.0/0.0 #=> NaN ;TI"a.nan? #=> true;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"#float.nan? -> true or false ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]ZY!88 to_d-i.rinu[U:RDoc::AnyMethod[iI" to_d:EFI"Float#to_d;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Convert +flt+ to a BigDecimal and return it.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"require 'bigdecimal' ;TI"require 'bigdecimal/util' ;TI" ;TI"0.5.to_d ;TI"-# => #;T: @format0: @fileI"*ext/bigdecimal/lib/bigdecimal/util.rb;T:0@omit_headings_from_table_of_contents_below0I"flt.to_d -> bigdecimal ;T0[I"(precision=nil);T@FI" Float;TcRDoc::NormalClass00PK~]b1 %3c%3d-i.rinu[U:RDoc::AnyMethod[iI"<=:ETI" Float#<=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"?Returns +true+ if +float+ is less than or equal to +real+.;To:RDoc::Markup::BlankLineo; ; [I"@The result of NaN <= NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float <= real -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]O  infinite%3f-i.rinu[U:RDoc::AnyMethod[iI"infinite?:ETI"Float#infinite?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"9Return values corresponding to the value of +float+:;To:RDoc::Markup::BlankLineo:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I" +finite+;T; [o; ; [I" +nil+;To;;[I"+-Infinity+;T; [o; ; [I" +-1+;To;;[I"++Infinity+;T; [o; ; [I"+1+;T@o; ; [I"For example:;T@o:RDoc::Markup::Verbatim; [I"$(0.0).infinite? #=> nil ;TI"#(-1.0/0.0).infinite? #=> -1 ;TI"!(+1.0/0.0).infinite? #=> 1;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float.infinite? -> nil, -1, +1 ;T0[I"();T@.FI" Float;TcRDoc::NormalClass00PK~]8Kbcdesc-Float.rinu[U:RDoc::NormalClass[iI" Float:ET@I" Numeric;To:RDoc::Markup::Document: @parts[ o;;[o:RDoc::Markup::Paragraph;[I"KBigDecimal extends the native Float class to provide the #to_d method.;To:RDoc::Markup::BlankLineo; ;[I"JWhen you require BigDecimal in your application, this method will be ;TI" available on Float objects.;T: @fileI"*ext/bigdecimal/lib/bigdecimal/util.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o; ;[I"HWhen mathn is required, Float is changed to handle Complex numbers.;T; I"lib/mathn.rb;T; 0o;;[; I"lib/rexml/xpath_parser.rb;T; 0o;;[ o; ;[I"CFloat objects represent inexact real numbers using the native ;TI"Carchitecture's double-precision floating point representation.;T@o; ;[I"IFloating point has a different arithmetic and is an inexact number. ;TI";So you should know its esoteric system. see following:;T@o:RDoc::Markup::List: @type: BULLET: @items[o:RDoc::Markup::ListItem: @label0;[o; ;[I":http://docs.sun.com/source/806-3568/ncg_goldberg.html;To;;0;[o; ;[I"Whttp://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#wiki-floats_imprecise;To;;0;[o; ;[I"Bhttp://en.wikipedia.org/wiki/Floating_point#Accuracy_problems;T; I"numeric.c;T; 0; 0; 0[[U:RDoc::Constant[iI" ROUNDS;TI"Float::ROUNDS;T00o;;[ o; ;[I">Represents the rounding mode for floating point addition.;T@o; ;[I";Usually defaults to 1, rounding to the nearest number.;T@o; ;[I"Other modes include:;T@o; ;: NOTE;[ o;;[I"-1;T;[o; ;[I"Indeterminable;To;;[I"0;T;[o; ;[I"Rounding towards zero;To;;[I"1;T;[o; ;[I"#Rounding to the nearest number;To;;[I"2;T;[o; ;[I"'Rounding towards positive infinity;To;;[I"3;T;[o; ;[I"'Rounding towards negative infinity;T; @:; 0@:@cRDoc::NormalClass0U;[iI" RADIX;TI"Float::RADIX;T00o;;[o; ;[I"HThe base of the floating point, or number of unique digits used to ;TI"represent the number.;T@o; ;[I"TUsually defaults to 2 on most systems, which would represent a base-10 decimal.;T; @:; 0@:@@q0U;[iI" MANT_DIG;TI"Float::MANT_DIG;T00o;;[o; ;[I":The number of base digits for the +double+ data type.;T@o; ;[I"Usually defaults to 53.;T; @:; 0@:@@q0U;[iI"DIG;TI"Float::DIG;T00o;;[o; ;[I"GThe number of decimal digits in a double-precision floating point.;T@o; ;[I"Usually defaults to 15.;T; @:; 0@:@@q0U;[iI" MIN_EXP;TI"Float::MIN_EXP;T00o;;[o; ;[I"HThe smallest posable exponent value in a double-precision floating ;TI" point.;T@o; ;[I"Usually defaults to -1021.;T; @:; 0@:@@q0U;[iI" MAX_EXP;TI"Float::MAX_EXP;T00o;;[o; ;[I"HThe largest possible exponent value in a double-precision floating ;TI" point.;T@o; ;[I"Usually defaults to 1024.;T; @:; 0@:@@q0U;[iI"MIN_10_EXP;TI"Float::MIN_10_EXP;T00o;;[o; ;[I"IThe smallest negative exponent in a double-precision floating point ;TI"+where 10 raised to this power minus 1.;T@o; ;[I"Usually defaults to -307.;T; @:; 0@:@@q0U;[iI"MAX_10_EXP;TI"Float::MAX_10_EXP;T00o;;[o; ;[I"NThe largest positive exponent in a double-precision floating point where ;TI"%10 raised to this power minus 1.;T@o; ;[I"Usually defaults to 308.;T; @:; 0@:@@q0U;[iI"MIN;TI"Float::MIN;T00o;;[o; ;[I"HThe smallest positive integer in a double-precision floating point.;T@o; ;[I"1Usually defaults to 2.2250738585072014e-308.;T; @:; 0@:@@q0U;[iI"MAX;TI"Float::MAX;T00o;;[o; ;[I"NThe largest possible integer in a double-precision floating point number.;T@o; ;[I"1Usually defaults to 1.7976931348623157e+308.;T; @:; 0@:@@q0U;[iI" EPSILON;TI"Float::EPSILON;T00o;;[o; ;[I"IThe difference between 1 and the smallest double-precision floating ;TI"point number.;T@o; ;[I"0Usually defaults to 2.2204460492503131e-16.;T; @:; 0@:@@q0U;[iI" INFINITY;TI"Float::INFINITY;T00o;;[o; ;[I"2An expression representing positive infinity.;T; @:; 0@:@@q0U;[iI"NAN;TI"Float::NAN;T00o;;[o; ;[I"@An expression representing a value which is "not a number".;T; @:; 0@:@@q0[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[;[3[I"%;TI"numeric.c;T[I"*;T@[I"**;TI"lib/mathn.rb;T[I"+;T@[I"-;T@[I"-@;T@[I"/;T@[I"<;T@[I"<=;T@[I"<=>;T@[I"==;T@[I"===;T@[I">;T@[I">=;T@[I"abs;T@[I" angle;TI"complex.c;T[I"arg;T@/[I" ceil;T@[I" coerce;T@[I" dclone;FI"lib/rexml/xpath_parser.rb;T[I"denominator;TI"rational.c;T[I" divmod;T@[I" eql?;T@[I" fdiv;T@[I" finite?;T@[I" floor;T@[I" hash;T@[I"infinite?;T@[I" inspect;T@[I"magnitude;T@[I" modulo;T@[I" nan?;T@[I"numerator;T@;[I" phase;T@/[I" power!;F@[I"quo;T@[I"rationalize;T@;[I" round;T@[I" to_d;FI"*ext/bigdecimal/lib/bigdecimal/util.rb;T[I" to_f;T@[I" to_i;T@[I" to_int;T@[I" to_r;T@;[I" to_s;T@[I" truncate;T@[I" zero?;T@[;[[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[I"complex.c;T@I"*ext/psych/lib/psych/scalar_scanner.rb;T@I"+lib/matrix/eigenvalue_decomposition.rb;T@I"lib/securerandom.rb;T@:I"rational.c;T@~cRDoc::TopLevelPK~] %3e%3d-i.rinu[U:RDoc::AnyMethod[iI">=:ETI" Float#>=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"BReturns +true+ if +float+ is greater than or equal to +real+.;To:RDoc::Markup::BlankLineo; ; [I"@The result of NaN >= NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float >= real -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]3c truncate-i.rinu[U:RDoc::AnyMethod[iI" truncate:ETI"Float#truncate;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Returns the +float+ truncated to an Integer.;To:RDoc::Markup::BlankLineo; ; [I"0Synonyms are #to_i, #to_int, and #truncate.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I" float.truncate -> integer;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~] %3e-i.rinu[U:RDoc::AnyMethod[iI">:ETI" Float#>;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Returns +true+ if +float+ is greater than +real+.;To:RDoc::Markup::BlankLineo; ; [I"?The result of NaN > NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"%float > real -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]T77 %2a%2a-i.rinu[U:RDoc::AnyMethod[iI"**:ETI" Float#**;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Exponentiate by +other+;T: @fileI"lib/mathn.rb;T:0@omit_headings_from_table_of_contents_below000[[I" power!;Fo;; [; @; 0I" (other);T@FI" Float;TcRDoc::NormalClass00PK~]ě'``%2f-i.rinu[U:RDoc::AnyMethod[iI"/:ETI" Float#/;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LReturns a new float which is the result of dividing +float+ by +other+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float / other -> float ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~];# to_s-i.rinu[U:RDoc::AnyMethod[iI" to_s:ETI"Float#to_s;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"QReturns a string containing a representation of self. As well as a fixed or ;TI"Qexponential form of the +float+, the call may return +NaN+, +Infinity+, and ;TI"+-Infinity+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.to_s -> string ;T0[[I" inspect;To;; [; @; 0I"();T@FI" Float;TcRDoc::NormalClass00PK~]kx to_int-i.rinu[U:RDoc::AnyMethod[iI" to_int:ETI"Float#to_int;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Returns the +float+ truncated to an Integer.;To:RDoc::Markup::BlankLineo; ; [I"0Synonyms are #to_i, #to_int, and #truncate.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I" float.to_int -> integer;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~] ++numerator-i.rinu[U:RDoc::AnyMethod[iI"numerator:ETI"Float#numerator;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Returns the numerator. The result is machine dependent.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"/n = 0.3.numerator #=> 5404319552844595 ;TI"0d = 0.3.denominator #=> 18014398509481984 ;TI"!n.fdiv(d) #=> 0.3;T: @format0: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I" flo.numerator -> integer ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]"I%3c-i.rinu[U:RDoc::AnyMethod[iI"<:ETI" Float#<;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"3Returns +true+ if +float+ is less than +real+.;To:RDoc::Markup::BlankLineo; ; [I"?The result of NaN < NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"%float < real -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]9 divmod-i.rinu[U:RDoc::AnyMethod[iI" divmod:ETI"Float#divmod;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See Numeric#divmod.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" 42.0.divmod 6 #=> [7, 0.0] ;TI"42.0.divmod 5 #=> [8, 2.0];T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"&float.divmod(numeric) -> array ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]SJJ to_f-i.rinu[U:RDoc::AnyMethod[iI" to_f:ETI"Float#to_f;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Since +float+ is already a float, returns +self+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.to_f -> self ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~] modulo-i.rinu[U:RDoc::AnyMethod[iI" modulo:ETI"Float#modulo;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I" 104.21 ;TI"26543.21.modulo(137.24) #=> 92.9299999999996;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"#float.modulo(other) -> float;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]>ɲq%3d%3d%3d-i.rinu[U:RDoc::AnyMethod[iI"===:ETI"Float#===;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OReturns +true+ only if +obj+ has the same value as +float+. Contrast this ;TI"7with Float#eql?, which requires obj to be a Float.;To:RDoc::Markup::BlankLineo; ; [I"@The result of NaN == NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T@o:RDoc::Markup::Verbatim; [I"1.0 == 1 #=> true;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"%float == obj -> true or false ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]P& )) %2d%40-i.rinu[U:RDoc::AnyMethod[iI"-@:ETI" Float#-@;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Returns float, negated.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"-float -> float ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]ۋ5   ceil-i.rinu[U:RDoc::AnyMethod[iI" ceil:ETI"Float#ceil;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns the smallest Integer greater than or equal to +float+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"1.2.ceil #=> 2 ;TI"2.0.ceil #=> 2 ;TI"(-1.2).ceil #=> -1 ;TI"(-2.0).ceil #=> -2;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.ceil -> integer ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]hUU%2b-i.rinu[U:RDoc::AnyMethod[iI"+:ETI" Float#+;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"AReturns a new float which is the sum of +float+ and +other+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float + other -> float ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]0$WWquo-i.rinu[U:RDoc::AnyMethod[iI"quo:ETI"Float#quo;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";Returns float / numeric, same as Float#/.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I""float.quo(numeric) -> float;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]Tabs-i.rinu[U:RDoc::AnyMethod[iI"abs:ETI"Float#abs;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Returns the absolute value of +float+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"(-34.56).abs #=> 34.56 ;TI"-34.56.abs #=> 34.56;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.abs -> float;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]4 l\\%2d-i.rinu[U:RDoc::AnyMethod[iI"-:ETI" Float#-;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns a new float which is the difference of +float+ and +other+.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float - other -> float ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]jp Y   floor-i.rinu[U:RDoc::AnyMethod[iI" floor:ETI"Float#floor;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"?Returns the largest integer less than or equal to +float+.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"1.2.floor #=> 1 ;TI"2.0.floor #=> 2 ;TI"(-1.2).floor #=> -2 ;TI"(-2.0).floor #=> -2;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.floor -> integer ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]yN %3d%3d-i.rinu[U:RDoc::AnyMethod[iI"==:ETI" Float#==;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OReturns +true+ only if +obj+ has the same value as +float+. Contrast this ;TI"7with Float#eql?, which requires obj to be a Float.;To:RDoc::Markup::BlankLineo; ; [I"@The result of NaN == NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T@o:RDoc::Markup::Verbatim; [I"1.0 == 1 #=> true;T: @format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"$float == obj -> true or false;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]lFF zero%3f-i.rinu[U:RDoc::AnyMethod[iI" zero?:ETI"Float#zero?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"&Returns +true+ if +float+ is 0.0.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"$float.zero? -> true or false ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]fi$Ң%3c%3d%3e-i.rinu[U:RDoc::AnyMethod[iI"<=>:ETI"Float#<=>;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OReturns -1, 0, +1 or nil depending on whether +float+ is less than, equal ;TI"Oto, or greater than +real+. This is the basis for the tests in Comparable.;To:RDoc::Markup::BlankLineo; ; [I"AThe result of NaN <=> NaN is undefined, so the ;TI"0implementation-dependent value is returned.;T@o; ; [I":+nil+ is returned if the two values are incomparable.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"*float <=> real -> -1, 0, +1 or nil ;T0[I" (p1);T@FI" Float;TcRDoc::NormalClass00PK~]; power%21-i.rinu[U:RDoc::AnyMethod[iI" power!:EFI"Float#power!;TF: publico:RDoc::Markup::Document: @parts[: @fileI"lib/mathn.rb;T:0@omit_headings_from_table_of_contents_below000[I" (other);T@ FI" Float;TcRDoc::NormalClass0[@FI"**;TPK~]~8denominator-i.rinu[U:RDoc::AnyMethod[iI"denominator:ETI"Float#denominator;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GReturns the denominator (always positive). The result is machine ;TI"dependent.;To:RDoc::Markup::BlankLineo; ; [I"See numerator.;T: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I""flo.denominator -> integer ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]}"?? hash-i.rinu[U:RDoc::AnyMethod[iI" hash:ETI"Float#hash;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(Returns a hash code for this float.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"float.hash -> integer ;T0[I"();T@FI" Float;TcRDoc::NormalClass00PK~]S%25-i.rinu[PK~]FI /to_r-i.rinu[PK~]C PP phase-i.rinu[PK~]x round-i.rinu[PK~]enq [ inspect-i.rinu[PK~]-gZZ  fdiv-i.rinu[PK~]`JLLarg-i.rinu[PK~]rationalize-i.rinu[PK~]!4PP angle-i.rinu[PK~]c &eql%3f-i.rinu[PK~]3K̢finite%3f-i.rinu[PK~]*mmagnitude-i.rinu[PK~]yy dclone-i.rinu[PK~]cKaa coerce-i.rinu[PK~]hSU 6to_i-i.rinu[PK~]!RZYY+!%2a-i.rinu[PK~]טx "nan%3f-i.rinu[PK~]ZY!88 %to_d-i.rinu[PK~]b1 '%3c%3d-i.rinu[PK~]O  )infinite%3f-i.rinu[PK~]8Kb-cdesc-Float.rinu[PK~] B%3e%3d-i.rinu[PK~]3c Etruncate-i.rinu[PK~] G%3e-i.rinu[PK~]T77  I%2a%2a-i.rinu[PK~]ě'``J%2f-i.rinu[PK~];# *Lto_s-i.rinu[PK~]kx ONto_int-i.rinu[PK~] ++.Pnumerator-i.rinu[PK~]"IR%3c-i.rinu[PK~]9 Tdivmod-i.rinu[PK~]SJJ Vto_f-i.rinu[PK~] 5Xmodulo-i.rinu[PK~]>ɲqqZ%3d%3d%3d-i.rinu[PK~]P& )) 1]%2d%40-i.rinu[PK~]ۋ5   ^ceil-i.rinu[PK~]hUU`%2b-i.rinu[PK~]0$WWebquo-i.rinu[PK~]Tcabs-i.rinu[PK~]4 l\\e%2d-i.rinu[PK~]jp Y   gfloor-i.rinu[PK~]yN i%3d%3d-i.rinu[PK~]lFF lzero%3f-i.rinu[PK~]fi$Ңn%3c%3d%3e-i.rinu[PK~]; ppower%21-i.rinu[PK~]~8rdenominator-i.rinu[PK~]}"?? thash-i.rinu[PK// u