Skip to content

Commit

Permalink
fix quoAssign on float64
Browse files Browse the repository at this point in the history
  • Loading branch information
mvertes committed Dec 19, 2024
1 parent 0464521 commit e733503
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gnovm/pkg/gnolang/op_binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,6 @@ func quoAssign(lv, rv *TypedValue) *Exception {
if ok {
lv.SetFloat64(lv.GetFloat64() / y)
}
lv.SetFloat64(lv.GetFloat64() / rv.GetFloat64())
// XXX FOR DETERMINISM, PANIC IF NAN.
case BigintType, UntypedBigintType:
if rv.GetBigInt().Sign() == 0 {
Expand Down

0 comments on commit e733503

Please sign in to comment.