Skip to content

Commit c8d2357

Browse files
Model K: document the phi proof mantissa limit
Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
1 parent b24f42e commit c8d2357

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎clean/k/tests/prove_ki_phi_log2.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# SPDX-License-Identifier: MIT
22
"""Enumerate every finite FP32 log2 argument in [1, +inf) for tiled HDR phi.
33
4-
Pass the generated dx12/gen/k_fp_tables.hlsli as the only argument. Baseline
5-
FP32 operations mirror kf2_log2. The baseline binary64 branch is enclosed
6-
using the independent series below. Exceptional inputs use the same kf_log2.
4+
Pass the generated dx12/gen/k_fp_tables.hlsli and, optionally, the number of
5+
mantissas to check from zero (the default is 2^23). Baseline FP32 operations
6+
mirror kf2_log2. The independent series encloses the baseline binary64 branch.
7+
Exceptional inputs use the same kf_log2.
78
"""
89
from fractions import Fraction
910
from functools import lru_cache

0 commit comments

Comments
 (0)