Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:两个代码就是加1的位置不一样,为什么一个对一个错?In Reply To:Re:两个代码就是加1的位置不一样,为什么一个对一个错? Posted by:kimi940211 at 2014-02-23 22:01:57 It's a floating point round-off error: e.g. (pow(2.0, 53) + 1) and pow(2.0, 53) would be rounded to the same floating point number when using the IEEE 754 representation > 一个是m加1,一个是m赋值给answer后answer加1 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator