/* PSPP - a program for statistical analysis.
- Copyright (C) 2006, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2009, 2010, 2011, 2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "language/stats/binomial.h"
+#include <float.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
if ( bst->cutpoint != SYSMIS)
{
- ds_put_format (&catstr[0], "<= %g", bst->cutpoint);
+ ds_put_format (&catstr[0], "<= %.*g",
+ DBL_DIG + 1, bst->cutpoint);
}
else
{