All of lore.kernel.org
 help / color / mirror / Atom feed
* pow calculation in kernel
@ 2014-06-20  1:55 =?gb18030?B?1cXqzw==?=
  2014-06-20  2:40 ` John de la Garza
  0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?1cXqzw==?= @ 2014-06-20  1:55 UTC (permalink / raw)
  To: kernelnewbies

Hi:
  
 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 ?
 thanks~

  
  ------------------
  
???
 
??
 
 
 
---------- 
 
HanZhang
 
School of Computer Science
Tsinghua University, Beijing, 100084, P.R.CHINA
 
Mobile:  +86 156-526-59782
E-mail:   zhanghan@csnet1.cs.tsinghua.edu.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140620/aba81bd4/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-20  2:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20  1:55 pow calculation in kernel =?gb18030?B?1cXqzw==?=
2014-06-20  2:40 ` John de la Garza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.