#1488: fix test suite when building with ICC
----------------------+-----------------------------------------------------
 Reporter:  bubaflub  |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  testing   |     Version:  2.1.0
 Severity:  medium    |    Keywords:       
     Lang:            |       Patch:       
 Platform:            |  
----------------------+-----------------------------------------------------

Comment(by bubaflub):

 Weirdness continues: the c test in config/auto/neg0.pm (and
 config/auto/neg_0/test_c.in) run

 {{{
 printf("%.0f", -0.0);
 }}}

 and check if the output is -0 or just 0.

 When I run the same code on parrot_shell compiled by ICC:

 {{{
 new $P0, ['FixedPMCArray']
 set $P0, 1
 set $P0[0], '-0.0'
 sprintf $S0, "%.0f", $P0
 print $S0
 .
 }}}

 I get "0" instead of "-0".  That means somewhere parrot is loosing the -0
 in all the hoops it's jumping through.

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