Rewrite BigDecimal#sqrt in ruby using Integer.sqrt #454
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
3s
Matrix: host
Annotations
24 errors
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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#L1194
<"0.14142135623730950488016887242096980785696718753769480731">("UTF-8") expected but was
<"0.14142135623730950533076675614619546927108765441564332116">("US-ASCII").
|
|
Failure:
test/bigdecimal/test_bigdecimal.rb#L1208
<1267650600228229401496703205376> expected but was
<0.126765060022822945707791245897957913861639059079182405399280302397405406429184e31>.
|
|
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:35: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.
|