Document that File::Find doesn't follow symlinks
[p5sagit/p5-mst-13.2.git] / lib / bigrat.pl
index 5bd127a..fb436ce 100644 (file)
@@ -55,6 +55,7 @@ sub norm { #(bint, bint) return rat_num
        'NaN';
     } else {
        local($gcd) = &'bgcd($num,$dom);
+       $gcd =~ s/^-/+/;
        if ($gcd ne '+1') { 
            $num = &'bdiv($num,$gcd);
            $dom = &'bdiv($dom,$gcd);