全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Floating-point number, machine epsilon, unit in the last place?

又称: floating-point number · machine epsilon · unit in the last place

Definition 25.1 Quantitative Methods · 第 25 章 — Floating Point and Numerical Linear Algebra

A binary floating-point number is ±m×2e\pm m \times 2^e with an integer significand mm of pp bits and an exponent ee in a fixed range; IEEE 754 double precision (binary64) has p=53p = 53 and exponents from −1022-1022 to 10231023. Machine epsilon is the gap between 1 and the next larger number, 21−p=2−52≈2.2×10−162^{1-p} = 2^{-52} \approx 2.2 \times 10^{-16}; the unit roundoff uu is half of it (some texts, and some libraries, call uu itself machine epsilon). A unit in the last place (ulp) of xx is the gap between the two floating-point numbers around xx.

在原文中阅读 →