# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #30993]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30993 >


The Float PMC is checking for thruth with the default implemation of
get_bool() from the Scalar PMC. This gives wrong results as the default
implementation checks PMC_int_val, not PMC_num_val.

Giving Float PMC the get_bool implementation from PerlNum PMC fixes this
problems.

Tests are added in t/pmc/float.t and t/pmc/perlnum.t


-- 
/* [EMAIL PROTECTED] */

NEU: WLAN-Router fïr 0,- EUR* - auch fïr DSL-Wechsler!
GMX DSL = supergïnstig & kabellos http://www.gmx.net/de/go/dsl

Attachment: get_bool_20040808.patch
Description: Binary data

Reply via email to