#313: ignore print -0 test errors on win32
--------------------+-------------------------------------------------------
 Reporter:  rurban  |        Owner:  rurban  
     Type:  todo    |       Status:  reopened
 Priority:  normal  |    Milestone:  1.0     
Component:  none    |      Version:  trunk   
 Severity:  medium  |   Resolution:          
 Keywords:          |         Lang:          
    Patch:  new     |     Platform:  win32   
--------------------+-------------------------------------------------------

Comment(by doughera):

 Correct. You should find 0.0 == -0.0 on any reasonable compiler.
 (Explicit testing on icc would be useful!)   If it's available, the best
 test to use is signbit().  This has come up many times before.  There is
 much more background in the RT tickets [RT #60312] (which includes a
 useful starting point for a patch)  [RT #28170] and [RT #30737]
 (incorrectly marked as rejected, but that's ok since it's duplicated by
 60312).

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/313#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to