Help for this page

Select Code to Download


  1. or download this
    sub quant { # input: float 0 to 1 inclusive
        my $v = shift;
    ...
        elsif ($v<8/9) { return 7 }
        else { return 8 }
    }