interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / codegen-dec / 2026-11-06 / wolfram.txt

14 lines · 986 bytes Raw Blame History
1WolframLanguageEvaluator (MCP), 2026-11-06. f32bits[x] = sign*2^31 + (Floor[Log2|x|]+127)*2^23 + Round[(|x|/2^e - 1)*2^23]
2(round to nearest; every value below is normal).
3f32bits[1/2048] -> 973078528 = 0x3A000000
4f32bits[N[-1/Log[2],30]] -> 3216550459 = 0xBFB8AA3B (-log2 e)
5f32bits[1] -> 1065353216 = 0x3F800000
6f32bits[2^23] -> 1258291200 = 0x4B000000
7f32bits[2^64] -> 1602224128 = 0x5F800000
8f32bits[2^-100] -> 226492416 = 0x0D800000
9f32bits[1+2^-10] -> 1065361408 = 0x3F802000
10f32bits[2^-20] -> 897581056 = 0x35800000
111/H for H = 1024 k, k = 1..8 (RES widths):
121024 981467136, 2048 973078528, 3072 967486123, 4096 964689920, 5120 961334477, 6144 959097515, 7168 957499685, 8192 956301312
13All literals in om/codegen/cg_dec.om match; the unit computes 1/H for H != 2048 with the f32 division 1.0f32 / f32 h,
14which the differential compares bit for bit against the C 1.0f / (float)h on every accepted width.