Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

64bit math in the kernel



Is it possible and if it is, what is the proper way to handle 64 bit math in
the kernel? Currently, if I have code that multiplies two UInt64 values, I
get a bogus value if the result is bigger than what can be contained in 32
bits. On the host side there is the Math64.h file which provide functions
for doing 64bit math, is there something equivalent for the kernel side or
do we have to roll our own.

Thanks,

Rob
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.