#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 doughera):

 Replying to [comment:1 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.

 Would it make sense to use isinf() (if it's available and works for
 parrot's FLOATVALS) instead of trying to do a comparison?

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