Subject: Inconsistency with division of a real number by an integer

From: Tommi Höynälänmaa <[email-masked]>
Date: Fri, 25 May 2018 18:29:43 +0300

The following code causes a numerical overflow exception to be raised:

---cut here---
(define myproc
  (lambda arguments
    (apply / arguments)))

(display (myproc 5.5 0))
---cut-here---

However, expression (/ 5.5 0) returns +inf.0.
Obviously one of these is wrong.

I have checked this with Guile 2.2.3.

     - Tommi Höynälänmaa