[1.9] Math API changes
----------------------

                 Key: JRUBY-4653
                 URL: http://jira.codehaus.org/browse/JRUBY-4653
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.9, RubySpec
            Reporter: Vladimir Sizikov


{noformat}
mspec ci -t j -T --1.9 core\math library\mathn
jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2010-03-13 3336859) (Java 
HotSpot(TM) Client VM 1.6.0_18) [x86-java]
.......................................EE...EE...................................................................E.E......................E..........................................................E...E................

1)
Math.atanh raises an Math::DomainError for arguments greater than 1.0 ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:135:in `const_missing'
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:135
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:5
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

2)
Math.atanh raises an Math::DomainError for arguments less than -1.0 ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:139:in `const_missing'
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:139
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:5
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

3)
Math#atanh raises an Math::DomainError for arguments greater than 1.0 ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:135:in `const_missing'
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:135
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:10
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

4)
Math#atanh raises an Math::DomainError for arguments less than -1.0 ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:139:in `const_missing'
D:/work/jruby-dev/rubyspec.git/shared/math/atanh.rb:139
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:10
D:/work/jruby-dev/rubyspec.git/core/math/atanh_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

5)
Math.gamma raises Math::DomainError given -1 ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:45:in `const_missing'
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:45
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:4
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

6)
Math.gamma raises Math::DomainError given negative infinity ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:62:in `const_missing'
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:62
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:4
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/math/gamma_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

7)
Math.lgamma raises Math::DomainError when passed -Infinity ERROR
NameError: uninitialized constant Math::DomainError
D:/work/jruby-dev/rubyspec.git/core/math/lgamma_spec.rb:45:in `const_missing'
D:/work/jruby-dev/rubyspec.git/core/math/lgamma_spec.rb:45
D:/work/jruby-dev/rubyspec.git/core/math/lgamma_spec.rb:4
D:/work/jruby-dev/rubyspec.git/core/math/lgamma_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/math/lgamma_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

8)
Math#rsqrt raises an Math::DomainError if the argument is a negative number 
ERROR
NameError: uninitialized constant CMath::DomainError
D:/work/jruby-dev/rubyspec.git/library/mathn/math/shared/rsqrt.rb:26:in 
`const_missing'
D:/work/jruby-dev/rubyspec.git/library/mathn/math/shared/rsqrt.rb:26
D:/work/jruby-dev/rubyspec.git/library/mathn/math/rsqrt_spec.rb:4
D:/work/jruby-dev/rubyspec.git/library/mathn/math/rsqrt_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

9)
Math.rsqrt raises an Math::DomainError if the argument is a negative number 
ERROR
NameError: uninitialized constant CMath::DomainError
D:/work/jruby-dev/rubyspec.git/library/mathn/math/shared/rsqrt.rb:26:in 
`const_missing'
D:/work/jruby-dev/rubyspec.git/library/mathn/math/shared/rsqrt.rb:26
D:/work/jruby-dev/rubyspec.git/library/mathn/math/rsqrt_spec.rb:12
D:/work/jruby-dev/rubyspec.git/library/mathn/math/rsqrt_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

Finished in 0.726000 seconds

41 files, 218 examples, 347 expectations, 0 failures, 9 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