This website requires Javascript to function properly. Please go to the setting of your web browser and enable Javascript for this website.
×
Loading...
Close
Home
Share
I'm afraid that it's not predictable.
sailor
(Ocean & Mountain)
(#10901006@0)
Last Updated: 2017-6-23
This post has been archived. It cannot be replied.
Share
Report
Replies, comments and Discussions:
工作学习
/
学科技术
/
不跑程序, 能看出width/high*2的结果吗?
-
sxffff
(lookingforjob);
2017-6-23
{145}
(#10899562@0)
var high=1
var width =1
for ( i in 1..100000000) {
width = 1 / high + width
high = 1 / width + high
}
print("width/high="+width/high*2)
width/high=2
-
c007
(国产007);
2017-6-23
(#10900721@0)
误差有点大。
-
sxffff
(lookingforjob);
2017-6-23
(#10900763@0)
I'm afraid that it's not predictable.
-
sailor
(Ocean & Mountain);
2017-6-23
(#10901006@0)
这个跑一下就知道了
-
sxffff
(lookingforjob);
2017-6-23
(#10901171@0)
c# 7.0 version
-
xmlhttprequest
(build5381);
2017-6-24
{197}
(#10901513@0)
private static void Test()
{
System.Diagnostics.Debug.WriteLine(F(1) * 2);
double F(int i) { return i > 1000 ? 0 : 1 + i / (2.0 * i + 1) * F(i + 1); }
}
这是7.0的新语法?函数里面可以定义函数?
-
binghongcha76
(一只大猫);
2017-6-29
(#10912056@0)
like js, eh?
-
xmlhttprequest
(build5381);
2017-6-29
(#10912070@0)
用了用c# 7,很好,已经不想再用老版本了,除了这个嵌套函数,那个增强型的tuple和deconstructors太好用了
-
binghongcha76
(一只大猫);
2017-10-24
(#11135654@0)
More Topics
这里有没有搞通讯协议,又是wireshark高手的同学,有问题想请教请教
工业制造技术不是靠大嗓门提高的,也不是靠弯道超车取得的,而是靠每一天,每一月,每一年辛勤的钻研取得的。我在工厂工作过,我在工程公司做过,深深体会到这一点。脚踏实地,是提高制造技术的精髓。
怎样理解reverse stress testing? 和stress testing 有什么相互关系吗?
惨了。今天一个同事做编程讲座,我跟她辩论说oo,多态怎样怎样。结果她说,现在编程界OO和多态已被批倒批臭,并踏上亿万只脚。现在是革命小将functional Programming的时代!可怜我OO还没学明白呐,就变天了。。。我同事说的对吗?
The two assumptions we need about the cost function
枫下论坛主坛
/
工作学习
/
学科技术