?????? pow function in kernel space

John-Mark Gurney jmg at funkthat.com
Fri Jun 20 01:25:49 UTC 2014


???? wrote this message on Fri, Jun 20, 2014 at 09:00 +0800:
>  I am doing a research on D2TCP(http://dl.acm.org/citation.cfm?id=2342388), I just want to implement it into the linux kernel. When calculating the penalty function, it is p = a^d, where 0< a < 1 and  0< d < 1. Since the kernel only offers integer,   so in my code, so I let a multiply 2^10. But I have no idea of calculating a^d when 0< d < 1. May be I want a  approximate algorithm or other methods. Can you help me ?

This is not a linux kernel list, please ask on a proper list...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-net mailing list