bug-guile
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#31593: Inconsistency with division of a real number by an integer
From
:
Tommi Höynälänmaa
Subject
:
bug#31593: Inconsistency with division of a real number by an integer
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
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
bug#31593: Inconsistency with division of a real number by an integer
,
Tommi Höynälänmaa
<=
Prev by Date:
bug#31528: patch get-bytevector-n to read more than 4 GB
Next by Date:
bug#31594: Code causes guild compile to hang
Previous by thread:
bug#31528: patch get-bytevector-n to read more than 4 GB
Next by thread:
bug#31594: Code causes guild compile to hang
Index(es):
Date
Thread