biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable fp-exceptions
[alexxy/gromacs.git]
/
src
/
gromacs
/
math
/
utilities.h
diff --git
a/src/gromacs/math/utilities.h
b/src/gromacs/math/utilities.h
index 8647c00f80e33870fc4e302600b9b701436a4d7a..9cc58649d9beffbd7b0d21ce6ff8563ed27905f8 100644
(file)
--- a/
src/gromacs/math/utilities.h
+++ b/
src/gromacs/math/utilities.h
@@
-169,6
+169,13
@@
check_int_multiply_for_overflow(gmx_int64_t a,
int
gmx_greatest_common_divisor(int p, int q);
+
+/*! \brief Enable floating-point exceptions if supported on OS
+ *
+ * Enables division-by-zero, invalid, and overflow.
+ */
+int gmx_feenableexcept();
+
#ifdef __cplusplus
}
#endif