MathRandom(min, max) 包含两端的值;如果 min > max,则会停止操作。MathClamp(value, min, max) 也会以同样的方式停止操作。
Math 内置函数从不返回 NaN 或无穷大。传入 NaN 或无穷大、或没有有限结果的 Math 内置函数会返回 0(结果为 Real 时为 0.0):对负数调用 MathSqrt、对零或负数调用 MathLog、MathPow 的结果不是有限值、对 NaN 调用 MathFloor、MathCeil 或 MathRound。对超出 Integer 范围的有限值调用 MathFloor、MathCeil 和 MathRound 会得到最大或最小的 Integer。