[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:

> 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?

> If anybody can point me to a highly optimized code in C, that I can
> easily rip and compile as part of the kernel, I would use that
> instead.

Search for IEEE 754? At least look up Abramowitz and Stegun and
compare what you do to what they write, check applicability.

-- 
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