龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-2 10:48

【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]