Английская Википедия:Binade

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description

An axis with tick marks for each floating-point number between 0 and 1 with 3 bits of precision and minimum exponent −5, with an underbrace labelled +1.xy × 2^(−2) to highlight the ticks for numbers from 1/4, inclusive, to 1/2, exclusive.
The binade of exponent −2 in the floating-point numbers with 3 bits of precision and minimum exponent −5

In software engineering and numerical analysis, a binade is a set of numbers in a binary floating-point format that all have the same sign and exponent. In other words, a binade is the interval <math>[2^e, 2^{e + 1})</math> or <math>(-2^{e + 1}, -2^e]</math> for some integer value <math>e</math>, that is, the set of real numbers or floating-point numbers <math>x</math> of the same sign such that <math>2^e \leq |x| < 2^{e + 1}</math>.[1][2][3]

Some authors use the convention of the closed interval <math>[2^e, 2^{e + 1}]</math> instead of a half-open interval,[4] sometimes using both conventions in a single paper.[5] Some authors additionally treat each of various special quantities such as NaN, infinities, and zeroes as its own binade,[6] or similarly for the exceptional interval <math>(0, 2^{\mathrm{emin}})</math> of subnormal numbers.[7]

See also

References

Шаблон:Reflist