Rewrite BigDecimal#sqrt in ruby using Integer.sqrt #452
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
4s
Matrix: host
Annotations
24 errors
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/Users/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-14 truffleruby
Process completed with exit code 1.
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/Users/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-latest truffleruby
Process completed with exit code 1.
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/Users/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-14 truffleruby-head
Process completed with exit code 1.
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/Users/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/Users/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
macos-latest truffleruby-head
Process completed with exit code 1.
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/home/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
ubuntu-latest truffleruby
Process completed with exit code 1.
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1193
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1207
<1267650600228229401496703205376> expected but was
<0.12676506002282294570779124589795791386163905907918240539928030239740540642918e31>.
|
|
Error:
test/bigdecimal/test_bigmath.rb#L80
FloatDomainError: Infinity
<internal:core> core/float.rb:172:in `floor'
<internal:core> core/integer.rb:353:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal.rb:37:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:43:in `sqrt'
/home/runner/work/bigdecimal/bigdecimal/lib/bigdecimal/math.rb:153:in `atan'
/home/runner/work/bigdecimal/bigdecimal/test/bigdecimal/test_bigmath.rb:80:in `test_atan'
<internal:core> core/throw_catch.rb:36:in `catch'
<internal:core> core/throw_catch.rb:36:in `catch'
|
|
ubuntu-latest truffleruby-head
Process completed with exit code 1.
|