chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #672: CR: Division by inexact zero results in inf


From: Chicken Trac
Subject: Re: [Chicken-janitors] #672: CR: Division by inexact zero results in infinity (or nan) as per IEEE 754
Date: Thu, 25 Aug 2011 15:27:43 -0000

#672: CR: Division by inexact zero results in infinity (or nan) as per IEEE 754
-----------------------------+----------------------------------------------
  Reporter:  sjamaan         |       Owner:                            
      Type:  defect          |      Status:  new                       
  Priority:  major           |   Milestone:  4.8.0                     
 Component:  core libraries  |     Version:  4.7.x                     
Resolution:                  |    Keywords:  numbers, flonums, IEEE 754
-----------------------------+----------------------------------------------

Comment(by zbigniew):

 My only argument against doing this in core is that large exacts may be
 coerced to inexact without warning, which would change the result of the
 computation from error to inf/nan.  (We also know Felix is opposed to
 changing the behavior of the / operator in core (fp/ already returns the
 correct result)).

 However, the numbers egg does not exhibit this problem, so in my opinion,
 you should change numbers to return IEEE 754 compliant results.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/672#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]