两个人的力量...... [英] power of two...
本文介绍了两个人的力量......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在一步中找到两个(2 rais到n)的力量???
How to find the power of two (2 rais to n) in a single step???
推荐答案
Shraddha写道:
Shraddha wrote:
如何在一步中找到2的幂(2 rais到n)???
How to find the power of two (2 rais to n) in a single step???
从Google开始,它将帮助您拼写。
Start with Google, it will help you with spelling.
" Shraddha" < sh ************* @ gmail.comschrieb im Newsbeitrag
新闻:11 ***************** ****@i38g2000prf.googlegro ups.com ...
"Shraddha" <sh*************@gmail.comschrieb im Newsbeitrag
news:11*********************@i38g2000prf.googlegro ups.com...
如何在一步中找到两个(2 rais到n)的幂?
How to find the power of two (2 rais to n) in a single step???
使用移位运算符(对于整数值)或使用pow()(对于双倍
值)
>
再见,Jojo
With the shift operator (for integer values) or with pow() (for double
values)
Bye, Jojo
Shraddha说:
Shraddha said:
如何找到2的力量( 2 rais到n)一步到位?
How to find the power of two (2 rais to n) in a single step???
double single_step = pow(2,n);
-
Richard Heathfield
Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk
电子邮件:rjh在上述域名中, - www。
double single_step = pow(2, n);
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
这篇关于两个人的力量......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文