Rubinius core/float_spec failures
---------------------------------

                 Key: JRUBY-1060
                 URL: http://jira.codehaus.org/browse/JRUBY-1060
             Project: JRuby
          Issue Type: Bug
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo


{noformat}
1)
'Float % should return self modulo other' FAILED
expected "104.21", got "104.21000000000004" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:8:

2)
'Float * should return self multiplied by other' FAILED
expected "1101270846124.03", got "1.101270846124032e+12" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:20:

3)
'Float ** should return self raise to the other power' FAILED
expected "12.167", got "12.166999999999998" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:25:

4)
'Float + should return self plus other' FAILED
expected "1007.209", got "1007.2090000000001" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:34:

5)
'Float - should return self minus other' FAILED
expected "-68716916238.8309", got "-6.87169162388309e+10" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:39:

6)
'Float / should return self divided by other' FAILED
expected "48.494623655914", got "48.494623655913976" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:53:

7)
'Float divmod should return an [quotient, modulus] from dividing self by other' 
FAILED
expected "[1, 1.14]", got "[1, 1.1400000000000001]" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:133:

8)
'Float modulo should be a synonym for %' FAILED
expected "104.21", got "104.21000000000004" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:173:

9)
NativeException in 'Float coerce should return [Float, Float]'
java.lang.ClassCastException: org.jruby.RubyString cannot be cast to 
org.jruby.RubyNumeric
RubyFloat.java:225:in `org.jruby.RubyFloat.coerce'
null:-1:in `org.jruby.RubyFloatInvokercoerce1.call'
FastInvocationCallback.java:49:in 
`org.jruby.runtime.callback.FastInvocationCallback.execute'
SimpleCallbackMethod.java:81:in 
`org.jruby.internal.runtime.methods.SimpleCallbackMethod.call'
EvaluationState.java:568:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:548:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:548:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:548:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:531:in `org.jruby.evaluator.EvaluationState.blockNode'
EvaluationState.java:201:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:164:in `org.jruby.evaluator.EvaluationState.eval'
Block.java:220:in `org.jruby.runtime.Block.yield'

10)
'Float.induced_from should return a Float of the correct value when sent a 
Bignum' FAILED
expected "2.34723984723499e+46", got "2.3472398472349874e+46" (using ==)
./test/externals/rubinius/spec/core/float_spec.rb:250:
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to