This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: inexact->exact
- From: Marco Vezzoli <marco dot vezzoli at st dot com>
- To: jim at pagesmiths dot com, kawa <kawa at sources dot redhat dot com>
- Date: Fri, 08 Nov 2002 14:48:16 +0100
- Subject: Re: inexact->exact
- References: <3DCB8471.6A1C6172@st.com> <3DCB9B15.9030709@pagesmiths.com>
jim@pagesmiths.com wrote:
> > ...
> > call to log (0.0)
> > return from log => #i-1/0
>
> That is the correct result. The logarithm of zero is not a number.
You are right, I simply copied the routine and the examples the author
gived which included tests with zeroes. Maybe the scheme implementations
where the routine was written are more permissive (or simply wrong) with
the log arguments.
--
Marco Vezzoli tel. +39 039 603 6852
STMicroelectronics fax. +39 039 603 5055