Open Source
fmtlib/fmt

fmt

Hexadecimal floating-point formatting failed to compile on 32-bit i686 builds using fmt's fallback unsigned 128-bit type.

PR #4813

Root Cause

format_hexfloat uses bitwise NOT to mask rounded bits, and the fallback uint128 type lacked unary operator~.

Fix

Implemented bitwise NOT for both halves of the fallback uint128 type.

Regression Tests

Added fallback uint128 regression coverage and verified x86-64 and i686 builds.