Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

关于linux中math.h中的M_PI

Posted by fansekey at 2010-04-22 16:06:41 on Problem 1005
唉,汗颜。linux math.h中有一宏M_PI M_PI = 3.141592653589793115997963468544185161590576171875
直接使用,但是编译错误。
在linux下编译math.h时,命令得是如 gcc -o test test.c -lm 忘加-lm花去一瓢时间。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator