人在天涯,心系祖国!
Share |
Share

TOP

Since the functions are not compiled in the standard lib but in
"libm", you need to use "-lm" option when linking the code. e.g. gcc -lm filename.c -o filename

TOP

原帖由 babykatze 于 2007-5-21 18:44 发表
Since the functions are not compiled in the standard lib but in
"libm", you need to use "-lm" option when linking the code. e.g. gcc -lm filename.c -o filename


有点没看懂,再琢磨琢磨。
谢谢。
人在天涯,心系祖国!

TOP

自己造一个函数吧,很简单的,这个用Matlab或者Mathematica比较好

TOP