Skip Menu |

This queue is for tickets about the Math-Round CPAN distribution.

Report information
The Basics
Id: 54974
Status: new
Priority: 0/
Queue: Math-Round

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: (no value)



Subject: Division by zero in nearest if precision is 0
% perl -MMath::Round -E 'say nearest(0, 1)' Illegal division by zero at /usr/lib/perl5/vendor_perl/5.10.0/Math/Round.pm line 85. Instead of this error message, the routine should croak if its first arg is zero.