pow function in kernel space
Peter Jeremy
peter at rulingia.com
Thu Jun 19 20:07:05 UTC 2014
On 2014-Jun-19 20:40:48 +0800, 张晗 <zganghanhan at foxmail.com> wrote:
>how can I implement, in an efficient, way the pow() function in kernel space ? Is there any function I can use o r how I can evaluate pow function in kernel model?
Since the kernel only offers integer arithmetic, one approach would be
square and multiply. What are you trying to do? Maybe we can offer
an alternative to pow(3).
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20140620/ea4ae33d/attachment.sig>
More information about the freebsd-net
mailing list