> From: [EMAIL PROTECTED]
> To: [email protected]
> Date: Wed, 18 Jun 2008 22:18:40 -0700
> Subject: Re: Floor(double) algorithm
>
> On Wednesday 18 June 2008 06:59:30 pm Gabriel Sechan wrote:
>> Does anyone have or know where to find the algorithm for floor(double)? I
>> have to implement this on a platform without a working implementation and
>> I'd rather not have to come up with it myself- working with mantissas and
>> exponents hurts my brain.
>>
>> Gabe
>
>
> http://www.netlib.org/cephes/
>
> I have used these libraries very successfully.
>
> floor.c is one of them
>

Thanks for the help to everyone who answered.  This library was particularly 
good if anyone ever finds themselves in the same spot-  it was a lot easier to 
read than some other implementations, a little less cryptic (glibc was really 
cryptic for speed).  And I'm hoping that I don't need to do this again anytime 
soon, floating point bit fiddling is a pain.

Gabe
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to