Paco Linux (via RT) wrote:
> as r31402 : Expanded float precision to 15 digits from 6.  One side effect
> is that float output no longer always has six digits after the dot; this
> drops trailing zeroes. Now the result is correct.
> 
> t/benchmark/benchmarks......1/37
> #   Failed test 'examples/benchmarks/addit.pasm'
> #   at t/benchmark/benchmarks.t line 222.
> #          got: '21001097.97
> # '
> #     expected: '21001097.970000
> # '

I think it's fundamentally wrong to rely on a particular stringification
format if what you really want to do is compare numbers.

If our current harness doesn't offer that option (I don't know, I'm not
very familiar with the PIR tests) it should be created.

Patching to use the currently-up-to-date number format is just curing
the symptoms, not the disease.

Moritz


-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/

Reply via email to