Archived
* r4d_rad_relayout_gdense composes in f64 (angles widened, cos/sin and products in double) and rounds to f16: the stored matrix is a derivation of the planes, the same bytes whichever libm computed it, as abi/rad_abi.h asks of a relayout. * givens_dense_quant (libr4d and libref) refuses an `out` that does not name q's dtype instead of reading the quantiser off q alone. * relayout_parity_test pins the dense stored form by hash, checks each matrix is orthogonal to f16 accuracy and that a broken pairing is refused. * r4d_givens_dense: static_assert that a thread stages one channel scale of the group; the selftest's givens_numeric takes one mode (rotate / dense fp8 / dense i8) instead of three flags; cGivensDense sits after the Hadamard constraint with its own comment.