develooper Front page | perl.perl5.porters | Postings from April 2019

[perl #133979] t/re/uniprops02.t fails many tests on Windows

Thread Previous | Thread Next
Karl Williamson via RT
April 4, 2019 20:08
[perl #133979] t/re/uniprops02.t fails many tests on Windows
Message ID:
It turns out that these errors are a result of floating point rounding differences between Linux et. al. and Windows.

For example, 

On hpux, linux, *bsd: perl -le "print sprintf \"%.2e\", .03125"

On Windows

Is this a bug in sprintf, or something to work around?

Karl Williamson

via perlbug:  queue: perl5 status: new

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About