chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #579: expt does not check errno after calling pow


From: Chicken Trac
Subject: Re: [Chicken-janitors] #579: expt does not check errno after calling pow()
Date: Tue, 31 May 2011 06:59:54 -0000

#579: expt does not check errno after calling pow()
-----------------------------+----------------------------------------------
  Reporter:  ckeen           |       Owner:  felix      
      Type:  defect          |      Status:  assigned   
  Priority:  critical        |   Milestone:  4.8.0      
 Component:  core libraries  |     Version:  4.6.x      
Resolution:                  |    Keywords:  numbers egg
-----------------------------+----------------------------------------------
Changes (by felix):

  * keywords:  numbers eggs => numbers egg
  * priority:  major => critical


Comment:

 Replying to [comment:5 sjamaan]:
 > I'm not sure. Probably...
 >
 > Maybe John Cowan has something sensible to say about this :)

 He often does, but what he says isn't automatically sensible...

 I will add a slight variation of the C `expt` routine in runtime.c to
 `numbers` and change the default procedure to return +/-inf and signal an
 error on EDOM (which would otherwise return a complex number). The latter
 change should be a Change Request, I think, since old code may stop
 working (even if it computed incorrect results).

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/579#comment:6>
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]