# New Ticket Created by Tony Payne # Please include the string: [perl #825] # in the subject line of all future correspondence about this issue. # <URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=825 > Conversion from a signed (int,float) to an unsigned int was causing underflow. Therefore, fact(-1) becomes fact(UINT_MAX), which is absurdly large :-). With this patch, it returns 0. Tests are also included. ++t -- attachment 1 ------------------------------------------------------ url: http://bugs6.perl.org/rt2/attach/3880/3590/523641/fact.diffThread Previous