#1813: t/op/infnan.t: failures on Darwin/PPC
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  normal   |   Milestone:       
Component:  core     |     Version:  2.8.0
 Severity:  medium   |    Keywords:       
     Lang:           |       Patch:       
 Platform:  darwin   |  
---------------------+------------------------------------------------------

Comment(by plobsing):

 What I suspect is happening is that the check against infinity in
 src/spf_render.c:Parrot_sprintf_format is failing, and the system sprintf
 is rendering the number as 'inf'.

 Assuming IEEE754, pos/neg inf only have one representation each. This
 would suggest some sort of failure to extend infinites for comparisons.

 Please test the attached patch which adds casts to the comparisons.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1813#comment:1>
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