Ruud H.G. van Tol on Sat, 22 Jan 2022 13:37:57 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Addressable bits buffer, how?



What are the ways to do raw bit buffer efficiently?

For example like Perl's vec(). `perldoc -f vec`

? sizebyte(binary(2602714556700227743))
%610 = 1784

? floor(1+#binary(2602714556700227743)/8)
%611 = 8

With addressable bits/bytes/words.

https://rosettacode.org/wiki/Pangram_checker#PARI.2FGP

-- Greetings, Ruud