[Top][All Lists]

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

Re: [PATCH 0/6] bitset: more conversions to ffs

From: Bruno Haible
Subject: Re: [PATCH 0/6] bitset: more conversions to ffs
Date: Fri, 20 Nov 2020 00:05:57 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

Akim Demaille wrote:
> > Gnulib has modules integer_length, integer_length_l, integer_length_ll.
> Oh, yes.  Why these names?

The name 'integer-length' comes from ANSI Common Lisp [1]. The suffixes exist
because in C we need 3 different functions for 'unsigned int', 'unsigned long',
and 'unsigned long long' arguments.

> "fls" feels more "natural" in front of fss.
> But just as cryptic indeed.
> I can see it is not POSIX, but
> https://www.freebsd.org/cgi/man.cgi?query=fls&sektion=3&manpath=FreeBSD+7.1-RELEASE

ANSI Common Lisp predates FreeBSD 5.3 by 15 years :-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]