Float#to_s returns a string representation of self, possibly Nan, -Infinity, 
+Infinity
--------------------------------------------------------------------------------------

                 Key: JRUBY-3149
                 URL: http://jira.codehaus.org/browse/JRUBY-3149
             Project: JRuby
          Issue Type: Bug
          Components: RubySpec
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.1.6


This is likely just a bad/unforgiving spec, but we should either fix the spec 
or fix the to_s output.

{noformat}
     [java] 3)
     [java] Float#to_s returns a string representation of self, possibly Nan, 
-Infinity, +Infinity FAILED
     [java] Expected "-1.0e+13"
     [java]  to equal "-10000000000000.0"
     [java] 
     [java] 
/Users/headius/projects/jruby/spec/ruby/1.8/core/float/to_s_spec.rb:11
     [java] 
/Users/headius/projects/jruby/spec/ruby/1.8/core/float/to_s_spec.rb:3
     [java] 
/Users/headius/projects/jruby/spec/ruby/1.8/core/float/to_s_spec.rb:54:in `load'
{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