Sha256: e3daa0a89498c23d741652501c16edb90da173816e096b9d8dc989d4f8d453a2

Contents?: true

Size: 429 Bytes

Versions: 90

Compression:

Stored size: 429 Bytes

Contents

fails:Math.log2 raises an Errno::EDOM if the argument is less than 0
fails:Math.log2 raises an TypeError if the argument cannot be coerced with Float()
fails:Math.log2 raises an TypeError if passed a numerical argument as a string
fails:Math.log2 returns NaN given NaN
fails:Math.log2 raises a TypeError if the argument cannot be coerced with Float()
fails:Math.log2 raises a TypeError if passed a numerical argument as a string

Version data entries

90 entries across 32 versions & 4 rubygems

Version Path
backports-3.8.0 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.8.0 frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.7.0 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.7.0 frozen_old_spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.7.0 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.7.0 frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/backports-3.6.8/spec/tags/1.8.7/core/math/log2_spec.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/backports-3.6.8/spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.8 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.8 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.7 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.7 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.6 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.6 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.5 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.5 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.4 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.4 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.6.3 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.6.3 spec/tags/1.8.6/core/math/log2_spec.rb