rcx

library of miscellaneous bits of C code
git clone git://git.rr3.xyz/rcx
Log | Files | Refs | README | LICENSE

commit 049677860ea5914ab78224f9493374002d16c8cf
parent 857f48aa6b8543a5891d4cbcc2d8b4c5a1b9054b
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Sun, 21 May 2023 16:01:02 -0700

Add documentation for mul64

Diffstat:
Minc/bits.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/inc/bits.h b/inc/bits.h @@ -7,4 +7,6 @@ int r_popcnt_16(u16 n); int r_popcnt_32(u32 n); int r_popcnt_64(u64 n); +/* Perform a full-width multiply of x and y, storing the upper (resp., lower) + * 64 bits of the product in *h (resp., *l). */ void r_mul64(u64 *h, u64 *l, u64 x, u64 y); \ No newline at end of file