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