On 2014-01-31, Dima Pasechnik <
dim...@gmail.com> wrote:
> On 31 January 2014 16:55, Dima Pasechnik <
dim...@gmail.com> wrote:
>> On 31 January 2014 15:54, Volker Braun <
vbrau...@gmail.com> wrote:
>
>>> If the tests don't pass then its not really useful. I certainly don't
>>> want to manually comb through the log to see whether its an
>>> already-known failure...
>
> a new twist seems to be that Maxima outputs different number of digits on ARM
> and on x86_64, this being the cause at least two test failures.
> Although I don't know whether this is due to extra space between the prompt
> and the output inserted by Maxima on ARM:
> (%i1) elliptic_e(0.5, 0.1);
> (%o1) .4980113944988315
> as compared to x86_64:
> (%i1) elliptic_e(0.5, 0.1);
> (%o1) .49801139449883153
>
in fact, the x86_64 output has 17 digits, whereas Maxima manual
seems to say that there should be 16 digits:
http://maxima.sourceforge.net/docs/manual/en/backup/maxima_10.html#Item_003a-fpprintprec
For ordinary floating point numbers, when fpprintprec has a value
between 2 and 16 (inclusive), the number of digits printed is equal to
fpprintprec. Otherwise, fpprintprec is 0, or greater than 16, and the
number of digits printed is 16.
setting fpprintprec to 16 still produces 17 digits;
setting it to 15 produces 16 digits.
On ARM setting fpprintprec to 16 or 15 produces 16 digits,
and setting it to 14 produces 15 digits...
Strange...
Dima