On Wed, 4 Feb 2004, Ignacio [iso-8859-15] Díaz-Emparanza wrote:
I have been taking a look at the new menu entry "NIST test
suite",
and I was surprised by the results. I was looking at them with the
spanish gretl 1.2.2 version using the comma as the decimal
separator. The summary result was [ very bad ]
Sorry about that, but it does not indicate any problem with gretl
itself. What happened was that I forgot to
setlocale(LC_NUMERIC, "C");
before reading the NIST data files, when NLS is in force. So when
running in Spanish, the gretl NIST plugin is getting a corrupted
version of both the test data and the standard results (which use "."
for the decimal point). I have fixed this in CVS.
Outside of the (new) NIST plugin, the setlocale() apparatus is
correctly in place, so the results from gretl itself should match
precisely regardless of the current decimal separator.
Allin.