chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #587: CR: expt should signal error on domain erro


From: Chicken Trac
Subject: Re: [Chicken-janitors] #587: CR: expt should signal error on domain error
Date: Mon, 06 Jun 2011 13:37:28 -0000

#587: CR: expt should signal error on domain error
-----------------------------+----------------------------------------------
  Reporter:  felix           |       Owner:       
      Type:  task            |      Status:  new  
  Priority:  minor           |   Milestone:       
 Component:  core libraries  |     Version:  4.7.x
Resolution:                  |    Keywords:  expt 
-----------------------------+----------------------------------------------
Description changed by felix:

Old description:

> `expt` returns +NaN when called with a negative first argument and a non-
> integer second argument. With a full numeric tower this would be a
> complex number, but those are of course not supported in the core system.
>
> I suggest signalling an error in this case. This might break existing
> code that relies on +NaN being returned.

New description:

 `expt` returns +NaN when called with a negative first argument and a non-
 integer second argument. With a full numeric tower this would be a complex
 number, but those are of course not supported in the core system.

 I suggest signaling an error in this case. This might break existing code
 that relies on +NaN being returned.

--

-- 
Ticket URL: <http://80.221.151.63/ticket/587#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]