Redian新闻
>
1月4日留美经济学会(CES)招待会暨国内高校宣讲会
avatar
1月4日留美经济学会(CES)招待会暨国内高校宣讲会# Economics - 经济
l*r
1
I wrote Fortran program to calculate the average and standard deviations of
a large number of data. It turned out that the instantaneous results are
always positive, then the last several sets of average values became
negative. I think it is because the total sum of those data reached the
limit of computer. So it began to show negative results.
I define the type of data as double precision. Is there anyone knows how to
solve the problem? Thanks a lot.
avatar
c*t
2
烦请版主置顶,谢谢。
1月4日晚6点至8点,在Yerba Beuna Salon 12-14 (level B2), S.F. Marriott
Hotel, 中国留美经济学会(CES)举行招待会,欢迎大家参加。Reception后,可以一起
去吃晚餐。
与会的有国内高校经管院系的学术带头人,与大家分享信息。
由于大会组织方的疏忽,Reception的信息没有出现在ASSA会议手册中。请大家转
告感兴趣的朋友。
下面是CES president Dr. Holly Wang的通知:
Chinese Economists Society (CES) is hosting a business meeting and reception
at ASSA conference on January 4, 2009, 6pm, Yerba Beuna Salon 12-14 (Level
B2), San Francisco Marriott Hotel (at the cross of Mission and Fourth Street
).
Many uni
avatar
f*y
3
scale一下 if 精度不是啥concern

of
to

【在 l********r 的大作中提到】
: I wrote Fortran program to calculate the average and standard deviations of
: a large number of data. It turned out that the instantaneous results are
: always positive, then the last several sets of average values became
: negative. I think it is because the total sum of those data reached the
: limit of computer. So it began to show negative results.
: I define the type of data as double precision. Is there anyone knows how to
: solve the problem? Thanks a lot.

avatar
g*y
4
Must go! Lots of fun! Strongly recommened!!! hehe
avatar
l*8
5
I bet it is not the fault of "double precision" data. The "double precision"
data are floating point. Their range is extremely wide (IEEE double can be
up to 1e307) and it is not possible to overflow from positive to negative (
you will only get a +NaN).
I think you're seeing negative numbers because the "count" is an integer and
FORTRAN calculates the average as (double)"sum" / (int)"count". If you have
more than 2 billion data entries (or 4 billion if the "count" is unsigned),
you'll see negat
avatar
q*l
6
Dr. Yulu Chen (Nankai University)?????

reception
Level

【在 c*******t 的大作中提到】
: 烦请版主置顶,谢谢。
: 1月4日晚6点至8点,在Yerba Beuna Salon 12-14 (level B2), S.F. Marriott
: Hotel, 中国留美经济学会(CES)举行招待会,欢迎大家参加。Reception后,可以一起
: 去吃晚餐。
: 与会的有国内高校经管院系的学术带头人,与大家分享信息。
: 由于大会组织方的疏忽,Reception的信息没有出现在ASSA会议手册中。请大家转
: 告感兴趣的朋友。
: 下面是CES president Dr. Holly Wang的通知:
: Chinese Economists Society (CES) is hosting a business meeting and reception
: at ASSA conference on January 4, 2009, 6pm, Yerba Beuna Salon 12-14 (Level

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。