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 |
发帖纪念一下1.atan2 http://www.cplusplus.com/reference/clibrary/cmath/atan2.html 2.ceil http://www.cplusplus.com/reference/clibrary/cmath/ceil.html 3.floor http://www.cplusplus.com/reference/clibrary/cmath/floor.html 由于浮点误差,可能会出现比如x = 2.0000001的情况(准确值是2.0),此时ceil(x)会返回3.0,需要用EPS修正 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator