Floating point exception
-
出现这个错误是什么原因啊
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 ? at ??:? #4 ? at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? Floating point exception (core dumped)
百度查了一下说是除了0,但是我的程序里面并没有除0啊
-
如果是除0的话,应该报 #2 Foam::divide at ??:? 这样的错误。
你的这个错误像是缺少了自己写的库文件。FOAM_USER_APPBIN下能找到吗?试着重新编译一下?
2018年4月16日 03:31
2/8
2024年1月12日 08:53