Sha256: 969e42066509bb0848c233109e26b46e7a212ea903303342454009c4dbfd75e4

Contents?: true

Size: 269 Bytes

Versions: 20

Compression:

Stored size: 269 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

Version data entries

20 entries across 10 versions & 1 rubygems

Version Path
backports-3.4.0 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.4.0 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.3.5 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.3.5 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.3.4 spec/tags/1.8.6/core/math/log2_spec.rb
backports-3.3.4 spec/tags/1.8.7/core/math/log2_spec.rb
backports-3.3.3 tags/1.8.7/core/math/log2_spec.rb
backports-3.3.3 tags/1.8.6/core/math/log2_spec.rb
backports-3.3.2 tags/1.8.6/core/math/log2_spec.rb
backports-3.3.2 tags/1.8.7/core/math/log2_spec.rb
backports-3.3.1 tags/1.8.7/core/math/log2_spec.rb
backports-3.3.1 tags/1.8.6/core/math/log2_spec.rb
backports-3.3.0 tags/1.8.6/core/math/log2_spec.rb
backports-3.3.0 tags/1.8.7/core/math/log2_spec.rb
backports-3.2.0 tags/1.8.7/core/math/log2_spec.rb
backports-3.2.0 tags/1.8.6/core/math/log2_spec.rb
backports-3.1.1 tags/1.8.7/core/math/log2_spec.rb
backports-3.1.1 tags/1.8.6/core/math/log2_spec.rb
backports-3.1.0 tags/1.8.7/core/math/log2_spec.rb
backports-3.1.0 tags/1.8.6/core/math/log2_spec.rb