#1928: get_bool function of Rational dynpmc
--------------------+-------------------------------------------------------
 Reporter:  rfw     |        Type:  bug   
   Status:  new     |    Priority:  normal
Milestone:          |   Component:  core  
  Version:  2.11.0  |    Severity:  high  
 Keywords:          |        Lang:        
    Patch:          |    Platform:  all   
--------------------+-------------------------------------------------------
 The Rational dynpmc is checked for truthfulness like so:

 {{{
 if (mpq_cmp_si(RT(SELF), 0, 0))
 }}}

 This means that the Rational requires a '''denominator of 0 to be
 false'''. This cannot possibly be a correct implementation.

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