Sha256: 5a7c1e2f4b1852b3dbcff522662156ae0f36367fcb5613217d543d4d1d2d32c0

Contents?: true

Size: 1017 Bytes

Versions: 22

Compression:

Stored size: 1017 Bytes

Contents

opal_filter "Fixnum" do
  fails "Fixnum#+ overflows to Bignum when the result does not fit in Fixnum"
  fails "Fixnum#- returns a Bignum only if the result is too large to be a Fixnum"
  fails "Fixnum#<< with n << m returns -1 when n < 0, m < 0 and n > -(2**-m)"
  fails "Fixnum#<< with n << m returns 0 when m < 0 and m is a Bignum"
  fails "Fixnum#<< with n << m returns 0 when n > 0, m < 0 and n < 2**-m"
  fails "Fixnum#<< with n << m returns a Bignum == fixnum_max * 2 when fixnum_max << 1 and n > 0"
  fails "Fixnum#<< with n << m returns a Bignum == fixnum_min * 2 when fixnum_min << 1 and n < 0"
  fails "Fixnum#>> with n >> m returns -1 when n < 0, m > 0 and n > -(2**m)"
  fails "Fixnum#>> with n >> m returns 0 when m is a Bignum"
  fails "Fixnum#>> with n >> m returns 0 when n > 0, m > 0 and n < 2**m"
  fails "Fixnum#>> with n >> m returns a Bignum == fixnum_max * 2 when fixnum_max >> -1 and n > 0"
  fails "Fixnum#>> with n >> m returns a Bignum == fixnum_min * 2 when fixnum_min >> -1 and n < 0"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
opal-0.10.6 spec/filters/unsupported/fixnum.rb
opal-0.10.6.beta spec/filters/unsupported/fixnum.rb
opal-0.10.5 spec/filters/unsupported/fixnum.rb
opal-0.10.4 spec/filters/unsupported/fixnum.rb
opal-0.10.3 spec/filters/unsupported/fixnum.rb
opal-0.10.2 spec/filters/unsupported/fixnum.rb
opal-0.10.1 spec/filters/unsupported/fixnum.rb
opal-0.10.0 spec/filters/unsupported/fixnum.rb
opal-0.10.0.rc2 spec/filters/unsupported/fixnum.rb
opal-0.9.4 spec/filters/unsupported/fixnum.rb
opal-0.9.3 spec/filters/unsupported/fixnum.rb
opal-0.10.0.rc1 spec/filters/unsupported/fixnum.rb
opal-0.10.0.beta5 spec/filters/unsupported/fixnum.rb
opal-0.10.0.beta4 spec/filters/unsupported/fixnum.rb
opal-0.10.0.beta3 spec/filters/unsupported/fixnum.rb
opal-0.10.0.beta2 spec/filters/unsupported/fixnum.rb
opal-0.10.0.beta1 spec/filters/unsupported/fixnum.rb
opal-0.9.2 spec/filters/unsupported/fixnum.rb
opal-0.9.0 spec/filters/unsupported/fixnum.rb
opal-0.9.0.rc1 spec/filters/unsupported/fixnum.rb