Re: Floating point in kernel

From: Mogens Kjaer (mk@crc.dk)
Date: Thu May 11 2000 - 08:52:10 EST


"B. James Phillippe" wrote:
>
> Hello,
>
> I know this is not legal. However, I'm reviewing some kernel module code
> which basically does:
>
> unsigned long foo = some_other_ulong * 1.234;
>
> This code has apparently been working for some time.

This wouldn't be the agpgart module by any chance?

Mogens

-- 
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@crc.dk Homepage: http://www.crc.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:18 EST