【LogXY】
[code]inputs:X( numericsimple ),
Y( numericsimple ) ;
if X > 0 and Y > 0 then
LogXY = log( Y ) / log( X )
else if X <= 0 then
RaiseRuntimeError( "Logarithmic base (X) must be greater than 0." )
else if Y <= 0 then
RaiseRuntimeError( "Logarithm operand (Y) must be greater than 0." ) ;
[/code]
页:
[1]