The spacing of the numbers below the smallest normal, at 11 significand bits
At its defaults it draws the spacing of the numbers below the smallest normal, at 11 significand bits. A staircase of spacing against magnitude on logarithmic axes. It descends in steps from the right and then flattens to a horizontal line at the left. A dashed line drops away instead.
subnormal-gap is one function in lib/figures/range.js —
range — overflow, the subnormal band, and the norm that dies before it is one. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
A staircase of spacing against magnitude on logarithmic axes. It descends in steps from the right and then flattens to a horizontal line at the left. A dashed line drops away instead.
show: "close-limits"
The arguments are the ones An octave to land in passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
32 states: window under an octave from 63, below zero from 68; the window rule first fails at 66 and the aiming rule at 69; a stored rate is zero from 91; the window per step reproduces the unbounded exponent at every depth before that. 40 states: window under an octave from 79, below zero from 85; the window rule first fails at 81 and the aiming rule at 92; a stored rate is zero from 115; the window per step reproduces the unbounded exponent at every depth before that. 48 states: window under an octave from 95, below zero from 103; the window rule first fails at 96 and the aiming rule at 108; a stored rate is zero from none inside 120; the window per step reproduces the unbounded exponent at every depth before that. 56 states: window under an octave from 111, below zero from 120; the window rule first fails at 115 and the aiming rule at none inside 120; a stored rate is zero from none inside 120; the window per step reproduces the unbounded exponent at every depth before that. 64 states: window under an octave from none inside 120, below zero from none inside 120; the window rule first fails at none inside 120 and the aiming rule at none inside 120; a stored rate is zero from none inside 120; the window per step reproduces the unbounded exponent at every depth before that.
show: "close-width"
The arguments are the ones An octave to land in passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
32 states: 1.39 octaves at 60, under one from 63, below zero from 68; the rule first fails at 66, where the width is 0.39; 40 states: 3.71 octaves at 60, under one from 79, below zero from 85; the rule first fails at 81, where the width is 0.39; 48 states: 5.13 octaves at 60, under one from 95, below zero from 103; the rule first fails at 96, where the width is 0.71; 56 states: 6.41 octaves at 60, under one from 111, below zero from 120; the rule first fails at 115, where the width is 0.39. The width falls in steps because the stored rates are E4M3 numbers. On 64 states it stays above one octave to 120.
show: "close-trace", d: 76
The arguments are the ones An octave to land in passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The single window read off the chain's rates is -2.19 octaves wide at this depth, which is no window at all; under it the counter makes 30 rescales, 4 products fall below E4M3's smallest normal and 0 quotients reach 448, and the far well is wrong by 26.3 per cent where the unbounded exponent is wrong by 7.2. The window for each step, shaded, runs from the smallest normal over that step's p to the largest normal times its q over twice its p; under it the counter makes 22 rescales and reproduces the unbounded exponent exactly, wrong by 7.2 per cent.
show: "close-error"
The arguments are the ones An octave to land in passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Below 66 octaves all three reproduce the unbounded exponent entry for entry. The far well is lost — wrong by half or more — at 16 of the 89 depths when the counter aims every step, at 9 under one window and at 0 under a window per step, whose error is the unbounded exponent's at every depth. From 91 octaves a stored rate is zero and no rule has a chain to compute.
show: "close-cost"
The arguments are the ones An octave to land in passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
32 states: aiming 26.8, one window 19.2, a window a step 12.6; 40 states: aiming 33.8, one window 24.4, a window a step 16.2; 48 states: aiming 39.8, one window 26.9, a window a step 17.3; 56 states: aiming 45.4, one window 27.7, a window a step 17.7; 64 states: aiming 50.7, one window 27.8, a window a step 17.3. The window per step is the cheapest of the three on every length and the only one exact on every depth.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
38 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
with subnormals, 1 bits below the smallest normal is still a number — checked 10 times
e4m3: the headroom buys more than the band — checked 2 times
e4m3: the window reproduces the unbounded exponent — checked 2 times
e5m2: every depth drawn is shallower than any flush failure, so the range plays no part — checked 2 times
a barrier depth between 0 and 120 octaves
a block size the dial offers
a block size the study uses
a depth the dial draws
a depth the sweep draws
a format this figure draws
a format this file measures
a rescaling rule this file knows
a significand between four and eleven bits
an E5M2 sum loses the far well at the shallowest barriers
and flush-to-zero loses every one of them
each arithmetic survives a deeper barrier than the one before it
flush to zero never inflates it
fp16: the headroom buys more than the band
fp16: the window reproduces the unbounded exponent
past the barrier every component carries the error the dip made
rounding to nearest at the bottom of a format inflates the far well before it empties it, with subnormals and without
the componentwise condition number does not move with the depth
the normwise backward error stays below the unit roundoff at every depth, in both arithmetics
the subnormal band is one octave per significand bit, less one agree
there are neighbours to test
three bits fail at half on most chains with no range limit
Against the rule
The rule does not apply to it. It factorises nothing, so there is no residual it could be withholding. That is worth stating rather than leaving blank: a site that reported the rule as satisfied by every generator would be counting mostly generators the rule never reached.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
An octave to land in
A window read off a chain's own rates kept an eight-bit recurrence exact to sixty octaves, and its width, falling towards zero, was predicted to mark where it would stop being exact, to within an octave. It stops two to seven octaves earlier, as soon as the window is narrower than the octave a power-of-two rescale moves by. The rule that aims every step, predicted to outlast it, fails too, once the value it aims at no longer fits. A window computed for each step separately never narrows below 4.8 octaves, reproduces the unbounded exponent on every depth at which the format can still store the chain, and makes the fewest rescales of the three.
The arithmetic underneathRoom for the step, not the value
Starting a recurrence at the top of an eight-bit format's range spends its headroom once. An exponent counter beside the stored value was predicted to spend it at every step, remove every range failure and leave only the precision. Rescaled on the value — back to one whenever it nears the bottom or the top — it does not: E4M3 still loses its far well on seven or more chains of nine, because one climbing step multiplies the value by forty and E4M3 clips silently at 448. Rescaled into a window read off the chain's own rates, it reproduces the unbounded exponent bit for bit on all 531 runs of every format, and what is left of E4M3's limit is nothing.
The arithmetic underneathThe far well in a byte
Half precision's subnormals carried a two-well chain's far well ten octaves deeper than flush to zero, and the essay that measured it predicted that on the eight-bit formats the band would be worth almost nothing and starting high almost everything. Measured on nine chains, the band is worth what it always was, two or three octaves; starting at the top of the range is worth ten and fourteen; and at three significant bits the far well is lost on eight chains of nine with no exponent limit at all, because the precision fails before the range does.
The arithmetic underneathThe numbers below the smallest one
Below the smallest normal number the spacing stops halving and stays put, all the way to zero. That is what gradual underflow is, and the thing it buys is the sentence every algorithm assumes without being told — x minus y is zero only when x equals y.
The arithmetic underneathThe well on the far side of the band
Gradual underflow was said to buy a predicate and not an answer, because a quantity that has decayed into the subnormal range is already lost. A quantity that passes through the band on its way somewhere else is not. The stationary distribution of a two-well chain, computed in half precision across a barrier whose top is two to the minus sixteen of the near well, keeps its far well's probability of 0.2454 to three digits with subnormals and returns exactly zero without them. The normwise backward error calls both answers exact.
The arithmetic underneathTwice the block, half the depth
An eight-bit chain kept exact by a window per step was predicted to keep exactness with one exponent shared by two states, and to lose it with four from the depth where four of its steepest steps span more than the narrowest window, 4.8 octaves. Blocks of two fail on four chains of five, at 66 to 114 octaves. Blocks of four fail at 35 to 66, two to three times deeper than the predicted 13 to 26. Every block size fails within three octaves of the depth where its block's window empties, and that depth is 4.0 to 4.6 octaves for each state a block holds.