diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-15 02:16:37 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-15 02:16:37 +0200 |
commit | b9b89b985affec5aafd9f29efc917fffcaa72783 (patch) | |
tree | c93aa0563faf513a6aebc9121ae1fc1a1f521e0e /lib/integer_length_ll.c | |
parent | 628f0eea1228ae83c864b65ef3fe91bcdb4465ee (diff) | |
download | gnulib-b9b89b985affec5aafd9f29efc917fffcaa72783.tar.gz |
New module 'integer_length_ll'.
* lib/integer_length_ll.c: New file.
* modules/integer_length_ll: New file.
Diffstat (limited to 'lib/integer_length_ll.c')
-rw-r--r-- | lib/integer_length_ll.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/integer_length_ll.c b/lib/integer_length_ll.c new file mode 100644 index 0000000000..c3804867b6 --- /dev/null +++ b/lib/integer_length_ll.c @@ -0,0 +1,20 @@ +/* integer_length_ll - find most significant bit in an 'unsigned long long'. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* Written by Bruno Haible <bruno@clisp.org>, 2011. */ + +#define USE_LONG_LONG +#include "integer_length_l.c" |