Ticket #3070 (new bug)
floor(0/0) should not be defined
| Reported by: | carette | Owned by: | squadette |
|---|---|---|---|
| Priority: | lowest | Milestone: | 7.6.2 |
| Component: | Prelude | Version: | 6.10.1 |
| Keywords: | Cc: | squadette@…, mihai.maruseac@…, anton.nik@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
floor(0/0) returns some giant negative integer - it should return NaN or undefined.
The bug appears to be in some implementation of 'properFraction' in the standard library.
[from Andrej Bauer, from Barak Pearlmutter (from ???)]
Change History
Note: See
TracTickets for help on using
tickets.
