floatingQuotient()

系统函数 MathLib.floatingQuotient 返回一个数除以另一个数的商。如果分母等于零,则发生域异常。此函数是使用双精度浮点算术实现的。

  MathLib.floatingQuotient(
    numericField1 mathLibNumber in,
    numericField2 mathLibNumber in)
  returns (result mathLibTypeDependentResult)
result
任何数字或 HEX 项,如数学(系统字)中所述。商被转换为具有 result 的格式,并在 result 中返回。
numericField1
任何数字或 HEX 项,如数学(系统字)中所述。在计算商之前,该项被转换为双精度浮点。
numericField1
任何数字或 HEX 项,如数学(系统字)中所述。在计算商之前,该项被转换为双精度浮点。

示例

  result = MathLib.floatingQuotient(myItem01,myItem02);

相关参考
EGL 库 MathLib

使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.