aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classifiers/bayes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c
index f8aed3ac7..c892488bd 100644
--- a/src/classifiers/bayes.c
+++ b/src/classifiers/bayes.c
@@ -123,6 +123,8 @@ inv_chi_square (gdouble value, gint freedom_deg)
errno = 0;
#ifdef HAVE_EXPL
prob = expl (-value);
+#elif defined(HAVE_EXP2L)
+ prob = exp2l (-value);
#else
prob = exp (-value);
#endif