Maxim
Thu May 27 01:21:55 CDT 2004
You must surround your calculations with KeSave/RestoreFloatingPointState.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"mingzi" <dkongmike@yahoo.com> wrote in message
news:A1CB401E-9207-4839-B5F6-2EA12F82D7F0@microsoft.com...
> Hello,
>
> I have to use floating point math(like floor, pow in std C lib math.h) in my
device driver. But I heard Win NT kernel mode driver does not support floating
point math.
>
> Does anyone know how to implement floating point calculations?
>
> Thank you very much for the help,
>