[1.9] (-0.0).arg should return Math::PI
---------------------------------------

                 Key: JRUBY-4483
                 URL: http://jira.codehaus.org/browse/JRUBY-4483
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.9, RubySpec
    Affects Versions: JRuby 1.4
         Environment: github trunk, Java 6, Mac OS X 10.6.2
            Reporter: Hiro Asari
             Fix For: JRuby 1.5


Here's the current spec failure:
{noformat}
surfboard:jruby[git:master]$ jruby spec/mspec/bin/mspec -T--1.9 
spec/ruby/core/numeric/angle_spec.rb 
jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2010-01-14 e84f677) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
...F.

1)
Numeric#angle returns Pi if -0.0 FAILED
Expected 0
 to equal 3.14159265358979

/Users/asari/Development/src/jruby/spec/ruby/shared/complex/numeric/arg.rb:35
/Users/asari/Development/src/jruby/spec/ruby/core/numeric/angle_spec.rb:5
/Users/asari/Development/src/jruby/spec/ruby/core/numeric/angle_spec.rb:4
/Users/asari/Development/src/jruby/spec/ruby/core/numeric/angle_spec.rb:55:in 
`load'

Finished in 0.136000 seconds

1 file, 5 examples, 18 expectations, 1 failure, 0 errors
{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