#313: ignore print -0 test errors on win32
--------------------+-------------------------------------------------------
Reporter: rurban | Owner: rurban
Type: todo | Status: closed
Priority: normal | Milestone: 1.0
Component: none | Version: trunk
Severity: medium | Resolution: fixed
Keywords: | Lang:
Patch: new | Platform: win32
--------------------+-------------------------------------------------------
Changes (by rurban):
* status: reopened => closed
* resolution: => fixed
Comment:
Fixed by r36638.
- add has_negative_zero feature,
- fix print_n and say_n for the platforms failing the new
has_negative_zero
configure test
- enable the failing tests again
This print -0.0 is a long-standing problem and finally fixes [perl
#28170],
[perl #30737], [perl #19183], [perl #60312].
Note that special yet untested platforms, like arm might also fail
the "has_negative_zero" test and might fail the signbit workaround we use.
long double -0.0 will also need a workaround code like this.
There's a patch to generate the signbit() fallback at RT #30737.
Many thanks to Andy Dougherty for pointing me to the old tickets
and for the solution which was there for 5 years.
M MANIFEST
A config/auto/neg_0.pm
M config/gen/config_h/feature_h.in
M lib/Parrot/Configure/Step/List.pm
M t/op/arithmetics.t
M t/pmc/complex.t
M t/pmc/float.t
A t/steps/auto_neg_0-01.t
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/313#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets