[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22689: [PATCH] Add logcount
From: |
Eli Zaretskii |
Subject: |
bug#22689: [PATCH] Add logcount |
Date: |
Sat, 30 Sep 2017 19:17:50 +0300 |
> Date: Sat, 30 Sep 2017 12:03:31 -0400
> From: Mark Oteiza <mvoteiza@udel.edu>
> Cc: 22689@debbugs.gnu.org
>
> > > I tried implementing your comments (and added a test). I don't know
> > > what to do in the #else for ULONG_LONG_MAX.
> >
> > Same as you do for ULONG_MAX, I think.
>
> so the following?
>
> else if (v <= ULONG_MAX || v <= ULONG_LONG_MAX)
> XSETINT (res, logcount64 (v));
Yes.
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/29
- bug#22689: [PATCH] Add logcount, Eli Zaretskii, 2017/09/30
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30
- bug#22689: [PATCH] Add logcount, Eli Zaretskii, 2017/09/30
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30
- bug#22689: [PATCH] Add logcount, Eli Zaretskii, 2017/09/30
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30
- bug#22689: [PATCH] Add logcount,
Eli Zaretskii <=
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30
- bug#22689: [PATCH] Add logcount, Eli Zaretskii, 2017/09/30
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30
- bug#22689: [PATCH] Add logcount, Benjamin Riefenstahl, 2017/09/30
- bug#22689: [PATCH] Add logcount, Mark Oteiza, 2017/09/30