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

Re: Implementation of log(x) for SPARC32



Shlomi Fish <shlomif@techst02.technion.ac.il> writes:

> On 25 Dec 2001, Oleg Goldshmidt wrote:
> 
> > Shlomi Fish <shlomif@techst02.technion.ac.il> writes:
> >
> > > But who is John Galt? Speed is not of the outmost importance in
> > > this case, so I think my implementation is fine.
> >
> > Only you can judge that. It's not only speed - are you sure that
> > whatever approximation you used (I have not looked at your perl code)
> > will not blow up - ever?
> >
> 
> Actually, I checked it against the numbers in the range 0 .. 1, which is
> my working range, and I discovered it returns very inaccurate results.

This is the time to get a cuppa, re-read this thread and the one about
the Technion in hackers-il, fire up your favourite editor, and try to
summarize some lessons...

This is not meant as a criticism, Shlomi, nor is it an "I told you
so". Just a friendly advice.

-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
"If it ain't broken, it has not got enough features yet."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il