fix the arg order for pow
This commit is contained in:
parent
852ce72507
commit
cce47bb50d
|
|
@ -60,7 +60,7 @@ Begin
|
|||
Case 6 Is y = ln(x)
|
||||
Case 7 Is y = atan(x)
|
||||
Case 8 Is y = fabs(x)
|
||||
Case 9 Is y= pow(x,z)
|
||||
Case 9 Is y = pow(z,x)
|
||||
Case 10 Is y = exp(x*ln(fabs(z)))
|
||||
Case 11 Is y = max(x,z)
|
||||
Case 12 Is y = min(x,z)
|
||||
|
|
@ -876,7 +876,7 @@ Begin
|
|||
u=formula( dico, t, Addr(error));
|
||||
state=1; /*atom*/
|
||||
If fu>0 Then
|
||||
if ( fu == 14 ) u= ternary_fcn((int)v,w,u);
|
||||
if ( fu == 15 ) u= ternary_fcn((int)v,w,u);
|
||||
else u= mathfunction(fu,v,u);
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
Loading…
Reference in New Issue