Math::Fortran - Perl implementations of Fortran's sign() and log10()
use Math::Fortran qw(log10 sign); $v = log10($x); $v = sign($y); $v = sign($x, $y);
This module provides and exports some mathematical functions which are built in in Fortran but not in Perl. Currently there are only 2 included.
Log to the base of 10
With 1 parameter, +1 if $y >= 0, -1 otherwise. With 2 parameters +abs($x) if $y >= 0, -abs($x) otherwise.
I welcome other entries for this module and bug reports.
John A.R. Williams J.A.R.Williams@aston.ac.uk
John M. Gamble firstname.lastname@example.org (current maintainer)