mathLib.frexp

系统函数 mathLib.frexp 将数字分割为 .5 到 1 范围内的标准化分数(作为 result 返回)以及返回的 integer 的 2 次幂。


mathLib.frexp 语法图
result
任何数字或 HEX 项,如数学(系统字)中所述。浮点分数被转换为具有 result 的格式,并在 result 中返回。
numericItem
任何数字或 HEX 项,如数学(系统字)中所述。在计算 result 之前,该项被转换为双精度浮点。
integer
被定义为具有 INT 类型或者具有以下等效类型的项:BIN 类型,长度为 9 并且不带小数位。

示例

  result = mathLib.frexp(myItem,myInteger);

相关参考
EGL 库 MathLib

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