[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementation of log(x) for SPARC32
- To: Shlomi Fish <shlomif(at-nospam)techst02.technion.ac.il>
- Subject: Re: Implementation of log(x) for SPARC32
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 25 Dec 2001 16:18:54 +0200
- Cc: linux-il(at-nospam)linux.org.il, "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Shlomi Fish's message of "Tue, 25 Dec 2001 15:33:30 +0200 (IST)"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <Pine.GSO.4.33.0112251530320.2090-100000@techst02.technion.ac.il>
- Reply-To: linux-il(at-nospam)linux.org.il
- Sender: oleg(at-nospam)data-zoo.com
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
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