Programming Search⌘K

Conceptadvanced

Subnormal numbers

Also called subnormal number, denormal, denormalized number, denormal number, gradual underflow, flush to zero, FTZ, DAZ.

Subnormal numbers are the floats between zero and the smallest normal float. They make underflow gradual, so x - y is never 0 when x and y differ, but they have less precision and can be slow.

Applies to
core-languages

Idea

A normal float has no leading zeros in its significand. The exponent moves the point, so 0.0123 is kept as 1.23 times a power of ten.1 The exponent has a lower limit, so there is a smallest positive normal float. For a double it is 2^-1022.2 Without more values, the next value below it is 0, and a result in that gap becomes 0. Goldberg: "If the result of a floating-point calculation falls into this gulf, it is flushed to zero."3

Subnormal numbers fill the gap. They are the values with the smallest exponent and a leading digit of zero.1 The smallest positive double is then 2^-1074, not 2^-1022.2

import math
import sys

tiny = sys.float_info.min
print("smallest normal:   ", tiny)
print("smallest subnormal:", math.ulp(0.0))
half = tiny / 2
print("tiny / 2:", half, "subnormal:", 0 < half < tiny)

x = 1.25 * tiny
y = tiny
print("x == y:", x == y)
print("x - y:", x - y, "is zero:", x - y == 0)

print("ulp(1e-300) / 1e-300:", math.ulp(1e-300) / 1e-300)
print("ulp(1e-320) / 1e-320:", math.ulp(1e-320) / 1e-320)
print("smallest subnormal / 2:", math.ulp(0.0) / 2)
Output
smallest normal:    2.2250738585072014e-308
smallest subnormal: 5e-324
tiny / 2: 1.1125369292536007e-308 subnormal: True
x == y: False
x - y: 5.562684646268003e-309 is zero: False
ulp(1e-300) / 1e-300: 1.6578092116916188e-16
ulp(1e-320) / 1e-320: 0.0004940711462450593
smallest subnormal / 2: 0.0

The output shows three facts.

  • x and y differ, and x - y is not zero. The difference is a subnormal.
  • Near 1e-300 the gap between neighbours is about 1e-16 of the value. Near 1e-320 it is about 5e-4 of the value, so a subnormal keeps far fewer digits.
  • Below the smallest subnormal there is nothing but zero. Half of it rounds to 0.

How it works

The encoding

"In binary interchange formats, subnormal numbers are encoded with a biased exponent of 0, but are interpreted with the value of the smallest allowed exponent, which is one greater".1 A normal binary float has an implicit leading 1 that is not stored. A subnormal has a leading 0 in its place.1 So a subnormal double is 0.f times 2^-1022, where f is the stored fraction.

The subnormal range for binary32 and binary64 is: from 2^-149 to 2^-126 - 2^-149 for binary32, and from 2^-1074 to 2^-1022 - 2^-1074 for binary64.1 The values in this range are evenly spaced. Each step is the smallest subnormal, 2^-1074 for a double.

Gradual underflow

Goldberg gives an example with three decimal digits and a smallest exponent of -98. The numbers x = 6.87 × 10^-97 and y = 6.81 × 10^-97 differ, but x - y is too small for a normal number and "must be flushed to zero".3 So the property x = y if and only if x - y = 0 fails. Goldberg warns that code such as if (x != y) then z = 1/(x-y) can then fail "due to a spurious division by zero".3

With subnormals, x - y is the denormalized number 0.6 × 10^-98, not zero. "This behavior is called gradual underflow."3 The Wikipedia article gives the same guarantee for IEEE 754: "two nearby floating-point numbers always have a representable non-zero difference."1

Underflow is still possible. A result below half the smallest subnormal rounds to zero, and a subnormal result has fewer significant bits. The precision goes down step by step: "significant digits are lost, but not as abruptly as when using the flush to zero on underflow approach".1

Speed, FTZ and DAZ

Some systems handle subnormal values in hardware, "in the same way as normal values". Others handle them in software, which is slower.1 On "many modern x86 processors", "instructions involving subnormal operands may take as many as 100 additional clock cycles, causing the fastest instructions to run as much as six times slower".1 Goldberg notes that "Programs that frequently underflow often run noticeably slower on hardware that uses software traps".3

So x86 processors with SSE have two mode flags.1

  • FTZ (flush to zero) returns zero "instead of a subnormal float for operations that would result in a subnormal float".1
  • DAZ (denormals are zero) treats "subnormal input arguments to floating-point operations as zero".1

These modes break IEEE 754: with them, x - y can again be 0 when x != y. A compiler option can turn them on for the whole program. In GCC for x86, "The -Ofast, -ffast-math, or -funsafe-math-optimizations options normally link in startup code that sets these flags except when building a shared library".4 Intel's C and Fortran compilers set DAZ and FTZ by default above -O0.1

In languages

LanguageVerdictNote
PythonNative
C++Native
JavaNative
CNative
C#Native
JavaScriptNative
TypeScriptNativeTypeScript numbers are JavaScript numbers, and Number.MIN_VALUE is the smallest subnormal in the main engines. No example file exists.
GoNative
RustNative
KotlinNativeKotlin Double is the JVM double, so it has subnormals. No example file exists because kotlinc is not installed.
SQLNativePostgreSQL double precision follows IEEE 754 on the supported platforms, and a number too close to zero to be distinct from zero gives an underflow error. No example file exists.
BashAbsentBash arithmetic expansion has integers only, so there are no floats and no subnormals. No example file exists.
PowerShellNativePowerShell [double] is System.Double, with [double]::Epsilon as the smallest subnormal and [double]::IsSubnormal. No example file exists because pwsh is not installed.
HTMLDoes not applyHTML has no arithmetic.
CSSAbsentCSS has no constant and no test for subnormal values. No example file exists.
Regular expressionsDoes not applyA pattern matches text and does no arithmetic.
Language Verdict Form
Python native sys.float_info.min, math.ulp(0.0), math.issubnormal (3.15)
JavaScript native Number.MIN_VALUE
TypeScript native as JavaScript
Java native Double.MIN_NORMAL, Double.MIN_VALUE, Math.getExponent
C native DBL_MIN, DBL_TRUE_MIN, fpclassify and FP_SUBNORMAL
C++ native std::numeric_limits<double>::min(), denorm_min(), std::fpclassify
C# native double.Epsilon, double.IsSubnormal
Go native math.SmallestNonzeroFloat64
Rust native f64::MIN_POSITIVE, is_subnormal
Kotlin native Double.MIN_VALUE (the JVM double)
PowerShell native [double]::Epsilon, [double]::IsSubnormal
Bash absent integer arithmetic only
SQL native PostgreSQL double precision, with an underflow error for values too close to zero
Regex n/a no arithmetic
HTML n/a no arithmetic
CSS absent no constant or test for subnormal values

The values are the same in every language with IEEE 754 doubles. The names differ, and some names are traps.

  • Python sys.float_info.min is "The minimum representable positive normalized float". The docs say to use math.ulp(0.0) "to get the smallest positive denormalized representable float".5 Python 3.15 adds math.issubnormal, which is true for "a finite nonzero number with a magnitude smaller than sys.float_info.min".6
  • Java has two constants: MIN_NORMAL is the smallest positive normal value, 2^-1022, and MIN_VALUE is the smallest positive nonzero value, 2^-1074.2 Math.getExponent gives Double.MIN_EXPONENT - 1 when "the argument is zero or subnormal".7
  • JavaScript Number.MIN_VALUE is the smallest positive subnormal in the main engines. The specification allows a larger value: "implementations are not required to support this representation, in which case Number.MIN_VALUE may be larger."8
  • Rust f64::MIN_POSITIVE is the "Smallest positive normal f64 value", and is_subnormal tests a value.9
  • Go defines SmallestNonzeroFloat64 as 0x1p-1022 * 0x1p-52, that is, the smallest subnormal.10
  • C has DBL_MIN, the "minimum normalized positive value", and DBL_TRUE_MIN, the "minimum positive value".11 fpclassify returns FP_SUBNORMAL for a subnormal argument.12 C++ denorm_min "Returns the minimum positive subnormal value of the type".13
  • C# Double.Epsilon is not a machine epsilon. It "Represents the smallest positive Double value that is greater than zero", that is, the smallest subnormal (Machine epsilon and ULP).14 double.IsSubnormal "Determines whether the specified value is subnormal."15
  • SQL in PostgreSQL: "Numbers too close to zero that are not representable as distinct from zero will cause an underflow error."16
PythonGitHub
import math
import struct
import sys


def fields(x):
    b = struct.unpack(">Q", struct.pack(">d", x))[0]
    return f"{b >> 63} {(b >> 52) & 0x7FF:011b} {b & ((1 << 52) - 1):013x}"


def is_subnormal(x):
    return math.isfinite(x) and x != 0 and abs(x) < sys.float_info.min


def yes(b):
    return "yes" if b else "no"


tiny = sys.float_info.min
for name, v in [("min normal", tiny), ("min normal / 2", tiny / 2), ("ulp(0.0)", math.ulp(0.0))]:
    print(f"{name:15} {fields(v)}")

print("subnormal 1e-310:", yes(is_subnormal(1e-310)))
print("subnormal 1e-300:", yes(is_subnormal(1e-300)))
print("subnormal 0.0:   ", yes(is_subnormal(0.0)))

third = 1 / 3
trip = third * 2.0**-1070 * 2.0**1000 * 2.0**70
print("1/3:             ", third)
print("1/3 after a trip:", trip)
Output
min normal      0 00000000001 0000000000000
min normal / 2  0 00000000000 8000000000000
ulp(0.0)        0 00000000000 0000000000001
subnormal 1e-310: yes
subnormal 1e-300: no
subnormal 0.0:    no
1/3:              0.3333333333333333
1/3 after a trip: 0.3125
  • Verdict: native. Python float is an IEEE 754 double with subnormals.
  • The fields are the sign, the exponent field and the fraction in hex. The smallest normal has an exponent field of 1 and a fraction of 0. A subnormal has an exponent field of 0.
  • sys.float_info.min is the smallest normal value and math.ulp(0.0) is the smallest subnormal. Python 3.15 has math.issubnormal. The is_subnormal here does the same test on older versions.
  • 1/3 scaled down into the subnormal range keeps only a few bits. Scaled back up, it is a different number.
#include <cmath>
#include <iostream>
#include <limits>

int main() {
    using limits = std::numeric_limits<double>;
    std::cout << "min():        " << limits::min() << "\n";
    std::cout << "denorm_min(): " << limits::denorm_min() << "\n";
    std::cout << std::boolalpha;
    std::cout << "isnormal(min() / 2): " << std::isnormal(limits::min() / 2) << "\n";
    std::cout << "subnormal: " << (std::fpclassify(limits::min() / 2) == FP_SUBNORMAL) << "\n";

    double v = 1.0;
    int steps = 0;
    int first_subnormal = 0;
    while (v != 0) {
        v *= 0.5;
        ++steps;
        if (first_subnormal == 0 && std::fpclassify(v) == FP_SUBNORMAL) {
            first_subnormal = steps;
        }
    }
    std::cout << "halvings to the first subnormal: " << first_subnormal << "\n";
    std::cout << "halvings to zero: " << steps << "\n";

    float f = std::numeric_limits<float>::min();
    std::cout << "float min(): " << f << ", denorm_min(): " << std::numeric_limits<float>::denorm_min() << "\n";
}
Output
min():        2.22507e-308
denorm_min(): 4.94066e-324
isnormal(min() / 2): false
subnormal: true
halvings to the first subnormal: 1023
halvings to zero: 1075
float min(): 1.17549e-38, denorm_min(): 1.4013e-45
  • Verdict: native. std::numeric_limits<double>::min() is the smallest normal value, and denorm_min() is the smallest subnormal.
  • The name min() is a trap for floats: it is not the most negative value. That is lowest().
  • A value that decays toward zero passes through 52 subnormal steps before it becomes 0. On some processors those steps are slow.
JavaGitHub
public class Main {
  static String yes(boolean b) {
    return b ? "yes" : "no";
  }

  public static void main(String[] args) {
    System.out.println("MIN_NORMAL: " + Double.MIN_NORMAL);
    System.out.println("MIN_VALUE:  " + Double.MIN_VALUE);
    System.out.println("Float.MIN_VALUE: " + Float.MIN_VALUE);

    double half = Double.MIN_NORMAL / 2;
    System.out.println("getExponent(MIN_NORMAL):     " + Math.getExponent(Double.MIN_NORMAL));
    System.out.println("getExponent(MIN_NORMAL / 2): " + Math.getExponent(half));
    System.out.println("getExponent(0.0):            " + Math.getExponent(0.0));

    System.out.println("bits of MIN_VALUE:  " + Long.toHexString(Double.doubleToRawLongBits(Double.MIN_VALUE)));
    System.out.println("bits of MIN_NORMAL: " + Long.toHexString(Double.doubleToRawLongBits(Double.MIN_NORMAL)));

    double x = 1.25 * Double.MIN_NORMAL;
    System.out.println("x - MIN_NORMAL: " + (x - Double.MIN_NORMAL));
    System.out.println("MIN_VALUE / 2 == 0: " + yes(Double.MIN_VALUE / 2 == 0));
  }
}
Output
MIN_NORMAL: 2.2250738585072014E-308
MIN_VALUE:  4.9E-324
Float.MIN_VALUE: 1.4E-45
getExponent(MIN_NORMAL):     -1022
getExponent(MIN_NORMAL / 2): -1023
getExponent(0.0):            -1023
bits of MIN_VALUE:  1
bits of MIN_NORMAL: 10000000000000
x - MIN_NORMAL: 5.562684646268003E-309
MIN_VALUE / 2 == 0: yes
  • Verdict: native. Java double follows IEEE 754 and has subnormals.
  • Double.MIN_VALUE is the smallest subnormal. The name suggests the smallest normal value, which is Double.MIN_NORMAL.
  • Math.getExponent gives MIN_EXPONENT - 1, that is -1023, for zero and for every subnormal.
  • The bits of MIN_VALUE are 1: an exponent field of 0 and only the last fraction bit set.
#include <float.h>
#include <math.h>
#include <stdio.h>

static const char *category(double x) {
    switch (fpclassify(x)) {
    case FP_ZERO:
        return "zero";
    case FP_SUBNORMAL:
        return "subnormal";
    case FP_NORMAL:
        return "normal";
    case FP_INFINITE:
        return "infinite";
    default:
        return "nan";
    }
}

int main(void) {
    volatile double x = 1.25 * DBL_MIN;
    volatile double y = DBL_MIN;
    double values[] = {DBL_MIN, DBL_MIN / 2, DBL_TRUE_MIN, x - y, DBL_TRUE_MIN / 2};
    const char *names[] = {"DBL_MIN", "DBL_MIN / 2", "DBL_TRUE_MIN", "x - y", "DBL_TRUE_MIN / 2"};
    for (int i = 0; i < 5; i++) {
        printf("%-16s %-22a %s\n", names[i], values[i], category(values[i]));
    }
    printf("FLT_TRUE_MIN = %g\n", FLT_TRUE_MIN);
    return 0;
}
Output
DBL_MIN          0x1p-1022              normal
DBL_MIN / 2      0x0.8p-1022            subnormal
DBL_TRUE_MIN     0x0.0000000000001p-1022 subnormal
x - y            0x0.4p-1022            subnormal
DBL_TRUE_MIN / 2 0x0p+0                 zero
FLT_TRUE_MIN = 1.4013e-45
  • Verdict: native. C has DBL_MIN for the smallest normal value and DBL_TRUE_MIN for the smallest subnormal.
  • fpclassify returns FP_SUBNORMAL for a subnormal. The %a format shows a subnormal with a leading 0x0. and the exponent -1022.
  • The output assumes no flush-to-zero mode. A build with -ffast-math can set FTZ and DAZ, and then the subnormal lines can print zero.
using System;

static string Yes(bool b) => b ? "yes" : "no";

double minNormal = BitConverter.Int64BitsToDouble(1L << 52);
Console.WriteLine($"smallest normal: {minNormal}");
Console.WriteLine($"double.Epsilon: {double.Epsilon}");
Console.WriteLine($"float.Epsilon: {float.Epsilon}");

Console.WriteLine($"IsNormal(minNormal): {Yes(double.IsNormal(minNormal))}");
Console.WriteLine($"IsSubnormal(minNormal / 2): {Yes(double.IsSubnormal(minNormal / 2))}");
Console.WriteLine($"IsSubnormal(Epsilon): {Yes(double.IsSubnormal(double.Epsilon))}");

double x = 1.25 * minNormal;
Console.WriteLine($"x - minNormal: {x - minNormal}");
Console.WriteLine($"Epsilon / 2: {double.Epsilon / 2}");
Console.WriteLine($"1.0 + Epsilon == 1.0: {Yes(1.0 + double.Epsilon == 1.0)}");
Output
smallest normal: 2.2250738585072014E-308
double.Epsilon: 5E-324
float.Epsilon: 1E-45
IsNormal(minNormal): yes
IsSubnormal(minNormal / 2): yes
IsSubnormal(Epsilon): yes
x - minNormal: 5.562684646268003E-309
Epsilon / 2: 0
1.0 + Epsilon == 1.0: yes
  • Verdict: native. C# double is IEEE 754, with double.IsSubnormal and double.IsNormal.
  • double.Epsilon is the smallest subnormal, not the machine epsilon. Added to 1.0 it changes nothing.
  • .NET has no named constant for the smallest normal double, so the code builds it from its bits.
JavaScriptGitHub
const minNormal = 2 ** -1022;
console.log("Number.MIN_VALUE:", Number.MIN_VALUE);
console.log("smallest normal: ", minNormal);
console.log("MIN_VALUE / 2:   ", Number.MIN_VALUE / 2);

const x = 1.25 * minNormal;
const y = minNormal;
console.log("x === y:", x === y, "x - y:", x - y);

let v = 1;
let steps = 0;
let firstSubnormal = 0;
while (v > 0) {
  v /= 2;
  steps += 1;
  if (firstSubnormal === 0 && v > 0 && v < minNormal) {
    firstSubnormal = steps;
  }
}
console.log("halvings of 1 to the first subnormal:", firstSubnormal);
console.log("halvings of 1 to zero:", steps);
Output
Number.MIN_VALUE: 5e-324
smallest normal:  2.2250738585072014e-308
MIN_VALUE / 2:    0
x === y: false x - y: 5.562684646268003e-309
halvings of 1 to the first subnormal: 1023
halvings of 1 to zero: 1075
  • Verdict: native. JavaScript numbers are IEEE 754 doubles.
  • Number.MIN_VALUE is the smallest subnormal in the main engines, not the smallest normal value. JavaScript has no constant for the smallest normal value, so the code computes 2 ** -1022.
  • Halving 1 gives normal values for 1022 steps, then subnormals for 52 more steps, and then 0.
package main

import (
	"fmt"
	"math"
)

const minNormal = 0x1p-1022

func isSubnormal(x float64) bool {
	return x != 0 && math.Abs(x) < minNormal
}

func yes(b bool) string {
	if b {
		return "yes"
	}
	return "no"
}

func main() {
	var smallest float64 = math.SmallestNonzeroFloat64
	fmt.Println("SmallestNonzeroFloat64:", smallest)
	fmt.Println("smallest normal:", minNormal)
	fmt.Printf("bits: %#016x %#016x\n", math.Float64bits(smallest), math.Float64bits(minNormal))

	x := 1.25 * minNormal
	y := minNormal
	fmt.Println("x - y:", x-y, "subnormal:", yes(isSubnormal(x-y)))

	frac, exp := math.Frexp(smallest)
	fmt.Println("Frexp(smallest):", frac, exp)
	fmt.Println("smallest / 2:", smallest/2)
}
Output
SmallestNonzeroFloat64: 5e-324
smallest normal: 2.2250738585072014e-308
bits: 0x0000000000000001 0x0010000000000000
x - y: 5.562684646268003e-309 subnormal: yes
Frexp(smallest): 0.5 -1073
smallest / 2: 0
  • Verdict: native. Go float64 follows IEEE 754 and has subnormals.
  • math.SmallestNonzeroFloat64 is the smallest subnormal. Go has no constant for the smallest normal value and no IsSubnormal, so the code writes the constant as the hex literal 0x1p-1022.
  • math.Frexp normalizes a subnormal: it gives a fraction in [0.5, 1) and an exponent below -1022.
RustGitHub
fn yes(b: bool) -> &'static str {
    if b { "yes" } else { "no" }
}

fn main() {
    let min_normal = f64::MIN_POSITIVE;
    let smallest = f64::from_bits(1);
    println!("MIN_POSITIVE: {min_normal:e}");
    println!("from_bits(1): {smallest:e}");
    println!("bits of MIN_POSITIVE: {:#018x}", min_normal.to_bits());

    let half = min_normal / 2.0;
    println!("is_subnormal(MIN_POSITIVE): {}", yes(min_normal.is_subnormal()));
    println!("is_subnormal(MIN_POSITIVE / 2): {}", yes(half.is_subnormal()));
    println!("is_subnormal(0.0): {}", yes(0.0f64.is_subnormal()));
    println!("classify(MIN_POSITIVE / 2): {:?}", half.classify());

    let x = 1.25 * min_normal;
    println!("x - MIN_POSITIVE: {:e}", x - min_normal);
    println!("from_bits(1) / 2: {:e}", smallest / 2.0);
}
Output
MIN_POSITIVE: 2.2250738585072014e-308
from_bits(1): 5e-324
bits of MIN_POSITIVE: 0x0010000000000000
is_subnormal(MIN_POSITIVE): no
is_subnormal(MIN_POSITIVE / 2): yes
is_subnormal(0.0): no
classify(MIN_POSITIVE / 2): Subnormal
x - MIN_POSITIVE: 5.562684646268003e-309
from_bits(1) / 2: 0e0
  • Verdict: native. Rust f64 follows IEEE 754, with is_subnormal and classify.
  • f64::MIN_POSITIVE is the smallest positive normal value. Rust has no named constant for the smallest subnormal, so the code builds it with f64::from_bits(1).
  • classify returns FpCategory::Subnormal for a subnormal and FpCategory::Zero for zero.
  • Denormal and subnormal. Older documents, such as the first release of IEEE 754 in 1985, use the word denormal. The 2008 revision uses subnormal, and "the terms subnormal and denormal are often used interchangeably".1 Goldberg's footnote: "They are called subnormal in 854, denormal in 754."3
  • Decimal formats. IEEE 754-2008 has subnormal numbers in its decimal formats too, and there "they require no special encoding".1
  • Machine epsilon. Machine epsilon is the gap above 1. The smallest subnormal is the gap above 0. The two are different constants (Machine epsilon and ULP).
  • Overflow. At the other end of the range, a result too large for the format becomes infinity (NaN and infinity).

Pitfalls

Taking the "smallest" constant to be the smallest normal value

Double.MIN_VALUE in Java and Number.MIN_VALUE in JavaScript are subnormal, about 4.9e-324. sys.float_info.min in Python, DBL_MIN in C and f64::MIN_POSITIVE in Rust are normal, about 2.2e-308.285119 Code that uses one where it means the other is off by a factor of 2^52.

A program that is fast in tests and slow on real data

A loop whose values decay toward zero, such as a filter or a damped simulation, can enter the subnormal range and run several times slower on some processors.1 In audio code, "subnormal values usually represent a signal so quiet that it is out of the human hearing range", so such code often avoids them.1

Fast-math flags that change the results

A build with -ffast-math or -Ofast can turn on FTZ and DAZ, so the same code gives other results than a normal build.4 Then a nonzero x - y can become 0. A test that divides by x - y after x != y is no longer safe.

A timing side channel

The speed difference can leak data. Researchers "showed that it provides a timing side channel that allows a malicious web site to extract page content from another site inside a web browser."1

Cost

A subnormal number costs no extra memory: it uses the same bits as other floats. The cost is precision and, on some processors, time. A subnormal double has fewer significant bits than a normal double, and the smallest subnormal has only 1. Operations on subnormals can take up to 100 extra clock cycles on some x86 processors.1 FTZ and DAZ remove the time cost and give up the guarantee that x - y is nonzero for x != y.1

History

Subnormal numbers "were implemented in the Intel 8087 while the IEEE 754 standard was being written." They were "by far the most controversial feature" of the proposal that was adopted, and the 8087 showed that they "could be supported in a practical implementation".1 Goldberg writes that denormals "are the most controversial part of the standard and probably accounted for the long delay in getting 754 approved."3

References

  1. Subnormal number, Wikipedia, the lead, Background, Performance issues, and Disabling subnormal floats at the code level
  2. Double (Java SE 27 and JDK 27), Oracle, the fields MIN_NORMAL and MIN_VALUE
  3. David Goldberg, What Every Computer Scientist Should Know About Floating-Point Arithmetic, ACM Computing Surveys 23(1), March 1991 (edited reprint by Sun Microsystems), the section Denormalized Numbers, Figure D-2, and footnote 19
  4. GCC Manual, x86 Options, Free Software Foundation, -mdaz-ftz
  5. sys, System-specific parameters and functions, Python Software Foundation, sys.float_info, the attribute min
  6. math, Mathematical functions, Python Software Foundation, math.isnormal, math.issubnormal, and math.ulp
  7. Math (Java SE 27 and JDK 27), Oracle, Math.getExponent(double)
  8. Number.MIN_VALUE, MDN Web Docs, Value, and Description
  9. Primitive Type f64, The Rust Project, the constant MIN_POSITIVE, and the method is_subnormal
  10. math package, The Go Authors, the constants MaxFloat64 and SmallestNonzeroFloat64
  11. Numeric limits (C), cppreference.com, DBL_MIN, and DBL_TRUE_MIN
  12. fpclassify (C), cppreference.com, Return value
  13. std::numeric_limits<T>::denorm_min, cppreference.com, the description
  14. Double.Epsilon Field, Microsoft Learn, the field description
  15. Double Struct, Microsoft Learn, the method IsSubnormal
  16. PostgreSQL Documentation, 8.1. Numeric Types, The PostgreSQL Global Development Group, 8.1.3 Floating-Point Types

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/F1A50N/text.yaml