且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

实数的幂

更新时间:2023-11-30 18:56:22

日志(X)的公式是自然对数,因此可以使用

log(x) in your formula is natural logarithm, so you can use

x^y = exp(y*ln(x))

没有任何疑问。无论 EXP LN 是标准的Turbo Pascal功能

without any doubts. Both exp and ln are standard Turbo Pascal functions

(通式为x的X ^计算y = b ^(Y *基-B数)

(general formula is x^y = b^(y * base-b logarithm of x)