您现在的位置: 中国教师站 >> 教师关注 >> 电脑技术 >> 编程技术 >> Delphi >> 正文

Google
Delphi中的算术运算函数
作者:Siny 文章来源:中国教师站cn-teacher 点击数: 更新时间:2007-4-22 15:58:06
d;

返回

函数名Intpower简要介绍:Calculates the integral power of a base value.(计算基数的整数幂。)所属单元:Math定义:function IntPower(Base: Extended; Exponent: Integer): Extended register;详细解释:

IntPower raises Base to the power specified by Exponent

(计算基数的整数幂。base为基数,Exponent为指数)

范例:
 

返回

函数名Ldexp简要介绍:Calculates X * (2**P)所属单元:Math定义:function Ldexp(X: Extended; P: Integer): Extended register;详细解释:

Ldexp returns X times (2 to the power of P).
(Ldexp计算X*(2**P),返回X的(2的P次幂)次幂。)

返回

函数名Max简要介绍:Returns the greater of two numeric values.(取两个数中的最大值)所属单元:Math定义:
function Max(A,B: Integer): Integer; overload;function Max(A,B: Int64): Int64; overload;function Max(A,B: Single): Single; overload;function Max(A,B: Double): Double; overload;function Max(A,B: Extended): Extended; overload;
详细解释:

Call Max to compare two numeric values. Max returns the greater value of the two.
(返回两个数值中的最大值。调用Max比较两个数值。它返回二者中较大的一个值。)

返回

函数名Min简要介绍:Returns the lesser of two numeric values.(取两个数的最小值)所属单元:Math定义:function Min(A,B: Integer): Integer; overload;
function Min(A,B: Int64): Int64; overload;
function Min(A,B: Single): Single; overload;
function Min(A,B: Double): Double; overload;
function Min(A,B: Extended): Extended; overload;详细解释:

Call Min to compare two numeric values. Min returns the smaller value of the two.
(返回两个数值中的最小值。调用Max比较两个数值,它返回二者中较小的一个值。)

返回

函数名pi简要介绍:Returns 3.1415926535897932385. (返回3.1415926535897932385.)所属单元:System定义:function Pi: Extended;详细解释:

Use Pi in mathematical calculations that require pi, the ratio of a circle's circumference to its diameter. Pi is approximated as 3.1415926535897932385.
(使用Pi函数精确计算返回圆周率Pi,圆周率是一个圆的周长除以它的直径。Pi的值近似于3.1415926535897932385.)

返回

函数名poly(本条翻译无把握)简要介绍:Evaluates a uniform polynomial of one variable at the value X.所属单元:Math定义:function Poly(X: Extended; const Coefficients: array of Double): Extended;详细解释:

Call Poly to evaluate the polynomial represented by the Coefficients parameter at the point where the variable equals the value of the X parameter. The coefficients are ordered in increasing powers of X:

Coefficients[0] + Coefficients[1]*X + ... + Coefficients[N]*(X**N)
(Poly估计一个变量在同一多项式的X值。调用Poly评估由Coefficients参数表达的多项式在一位置的值等同于X参数的值。参数是顺序的以X的幂增加:Coefficients[0]+
coefficients[1]*X+…..+Cofficients[n]*[X**N])

返回

函数名power简要介绍:Raises Base to any power.(取一个实数的幂)所属单元:Math定义:function Power(Base, Exponent: Extended): Extended;详细解释:

Power raises Base to any power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0.
(返回一个实数的幂。 当指数Exponent为小数或大于MaxInt时,底数Base必须大于0.)

返回

函数名Round简要介绍:Returns the value of X ro

上一页  [1] [2] [3] [4] 下一页

  • 上一篇文章:

  • 下一篇文章:
  • 相关专题:
     
     网友评论:(评论内容只代表网友观点,与本站立场无关!)
    GOOGLE广告

    阅读排行

    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 |
    中国教师站

    中国教师站 版权所有 Copyright © 2006-2020 All Rights Reserved 站长:Sina & Siny
    [备用域名:www.JXZYW.Com] 有事请留言有事请留言
    【实力成就精品 诚信呵护品牌】

    信息产业部备案
    苏ICP备06018635号