Add POPCOUNT function (#2166)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-27 00:17:31 +02:00
1 parent ff6f1699e9
commit d95e9260e4
13 files changed
+45 -3

No files matched your search

+2
View File
@@ -436,6 +436,8 @@ equals $roman clz ( n )$, the count of leading zero bits in the binary represent
.Ar n .
.It Fn TZCOUNT n Ta Returns $roman ctz ( n )$, the count of trailing zero bits in the binary representation of
.Ar n .
.It Fn POPCOUNT n Ta Returns how many one bits are in the binary representation of
.Ar n .
.El
.EQ
delim off