input a floating point number in the above textbox
Source: GitHub
Credit to Snazz (@worstpacifist
) for discovering the Squiggle Family, allowing for arbitrary bit-shifting.
This tool is able to generate a pattern for any possible Hex Casting number (IEEE754 double
s without Infinity or NaN). First, a number with a desired mantissa is created using a subset of the Squiggle Family that maps to bitshifts of 3 bits (2-9 mapping to stable shifts of 000
-111
). Then a Power Pyramid is added to the end to correct the exponent. This total control over both the mantissa and the exponent means that any arbitrary normal double
can be constructed.