帮我看看这个C语言错误# Computation - 科学计算
g*s
1 楼
我的程序一运行就显示:
Floating point error: Overflow
然后运行就中断了,甚至后面的printf()都不再执行了。
我想问一下,可能是哪方面的错误,是我在该用double的地方用成float 了吗?
我查了一下,float数值的范围已经远远超过我问题里函数的range了.
Floating point error: Overflow
然后运行就中断了,甚至后面的printf()都不再执行了。
我想问一下,可能是哪方面的错误,是我在该用double的地方用成float 了吗?
我查了一下,float数值的范围已经远远超过我问题里函数的range了.