Save This Page
Home » jruby-src-1.1.3 » org.jruby » [javadoc | source]
org.jruby
public class: RubyFloat [javadoc | source]
java.lang.Object
   org.jruby.RubyObject
      org.jruby.RubyNumeric
         org.jruby.RubyFloat

All Implemented Interfaces:
    VALUE

A representation of a float object
Fields inherited from org.jruby.RubyNumeric:
NUMERIC_ALLOCATOR,  DBL_EPSILON
Constructor:
 public RubyFloat(Ruby runtime) 
 public RubyFloat(Ruby runtime,
    double value) 
Method from org.jruby.RubyFloat Summary:
abs,   ceil,   coerce,   compareValue,   convertToFloat,   createFloatClass,   divmod,   eql_p,   finite_p,   floor,   getDoubleValue,   getJavaClass,   getLongValue,   getNativeTypeIndex,   getValue,   hash,   hashCode,   induced_from,   infinite_p,   marshalTo,   nan_p,   newFloat,   op_cmp,   op_equal,   op_fdiv,   op_ge,   op_gt,   op_le,   op_lt,   op_minus,   op_mod,   op_mul,   op_plus,   op_pow,   op_uminus,   round,   to_f,   to_s,   truncate,   unmarshalFrom,   zero_p
Methods from org.jruby.RubyNumeric:
abs,   asNumeric,   callCoerced,   callCoerced,   ceil,   checkInt,   coerce,   coerceBin,   coerceBody,   coerceCmp,   coerceRelOp,   createNumericClass,   dbl2num,   dbl_cmp,   div,   divmod,   doCoerce,   eql_p,   fix2int,   fix2long,   floor,   getCoerced,   getDoubleValue,   getLongValue,   initialize_copy,   int2fix,   integer_p,   modulo,   newNumeric,   nonzero_p,   num2chr,   num2dbl,   num2fix,   num2int,   num2long,   op_cmp,   op_num_equal,   op_uminus,   op_uplus,   quo,   remainder,   round,   sadded,   step,   step,   step,   str2fnum,   str2fnum,   str2inum,   str2inum,   to_int,   truncate,   zero_p
Methods from org.jruby.RubyObject:
callInit,   defineSingletonMethod,   funcall,   funcall,   funcall,   funcall3,   getClassVarSingleton,   getInstanceVar,   getInstanceVar,   getInstanceVariables,   getRuby,   getRubyClass,   getSingletonClass,   infectObject,   isFalse,   isFrozen,   isImmediate,   isInstanceVarDefined,   isNil,   isSpecialConst,   isTaint,   isTrue,   m_clone,   m_dup,   m_equal,   m_freeze,   m_frozen,   m_id,   m_inspect,   m_instance_of,   m_kind_of,   m_methods,   m_private_methods,   m_protected_methods,   m_singleton_methods,   m_taint,   m_tainted,   m_to_s,   m_type,   m_untaint,   setFrozen,   setImmediate,   setInstanceVar,   setInstanceVar,   setInstanceVariables,   setRuby,   setRubyClass,   setTaint,   setupClone,   setupObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jruby.RubyFloat Detail:
 public IRubyObject abs() 
    flo_abs
 public IRubyObject ceil() 
    flo_ceil
 public IRubyObject coerce(IRubyObject other) 
    flo_coerce
 protected int compareValue(RubyNumeric other) 
 public RubyFloat convertToFloat() 
 public static RubyClass createFloatClass(Ruby runtime) 
 public IRubyObject divmod(ThreadContext context,
    IRubyObject other) 
    flo_divmod
 public IRubyObject eql_p(IRubyObject other) 
    flo_eql
 public IRubyObject finite_p() 
    flo_is_finite_p
 public IRubyObject floor() 
    floor
 public double getDoubleValue() 
 public Class getJavaClass() 
 public long getLongValue() 
 public int getNativeTypeIndex() 
 public double getValue() 
    Getter for property value.
 public RubyFixnum hash() 
    flo_hash
 public final int hashCode() 
 public static IRubyObject induced_from(ThreadContext context,
    IRubyObject recv,
    IRubyObject number) 
    rb_flo_induced_from
 public IRubyObject infinite_p() 
    flo_is_infinite_p
 public static  void marshalTo(RubyFloat aFloat,
    MarshalStream output) throws IOException 
 public IRubyObject nan_p() 
    flo_is_nan_p
 public static RubyFloat newFloat(Ruby runtime,
    double value) 
 public IRubyObject op_cmp(ThreadContext context,
    IRubyObject other) 
    flo_cmp
 public IRubyObject op_equal(ThreadContext context,
    IRubyObject other) 
    flo_eq
 public IRubyObject op_fdiv(ThreadContext context,
    IRubyObject other) 
    flo_div
 public IRubyObject op_ge(ThreadContext context,
    IRubyObject other) 
    flo_ge
 public IRubyObject op_gt(ThreadContext context,
    IRubyObject other) 
    flo_gt
 public IRubyObject op_le(ThreadContext context,
    IRubyObject other) 
    flo_le
 public IRubyObject op_lt(ThreadContext context,
    IRubyObject other) 
    flo_lt
 public IRubyObject op_minus(ThreadContext context,
    IRubyObject other) 
    flo_minus
 public IRubyObject op_mod(ThreadContext context,
    IRubyObject other) 
    flo_mod
 public IRubyObject op_mul(ThreadContext context,
    IRubyObject other) 
    flo_mul
 public IRubyObject op_plus(ThreadContext context,
    IRubyObject other) 
    flo_plus
 public IRubyObject op_pow(ThreadContext context,
    IRubyObject other) 
    flo_pow
 public IRubyObject op_uminus() 
    flo_uminus
 public IRubyObject round() 
    flo_round
 public IRubyObject to_f() 
    flo_fo
 public IRubyObject to_s() 
    flo_to_s
 public IRubyObject truncate() 
    flo_truncate
 public static RubyFloat unmarshalFrom(UnmarshalStream input) throws IOException 
 public IRubyObject zero_p() 
    flo_zero_p