atlas
0.6
Main Page
Namespaces
Classes
Files
File List
File Members
latest_branch_07182016
sources
utilities
bits.h
Go to the documentation of this file.
1
5
/*
6
Copyright (C) 2004,2005 Fokko du Cloux
7
part of the Atlas of Lie Groups and Representations
8
9
For license information see the LICENSE file
10
*/
11
12
#ifndef BITS_H
/* guard against multiple inclusions */
13
#define BITS_H
14
15
#include <vector>
16
#include <cstddef>
17
18
/******** function declarations **********************************************/
19
20
namespace
atlas
{
21
22
namespace
bits {
23
24
unsigned
bitCount
(
unsigned
long
);
25
26
size_t
firstBit
(
unsigned
long
);
27
28
size_t
lastBit
(
unsigned
long
);
29
30
}
31
32
}
33
34
#endif
atlas::bits::lastBit
size_t lastBit(unsigned long f)
Definition:
bits.cpp:89
atlas::bits::bitCount
unsigned int bitCount(unsigned long x)
Definition:
bits.cpp:30
atlas::bits::firstBit
size_t firstBit(unsigned long f)
Definition:
bits.cpp:64
atlas
Definition:
Atlas.h:38
Generated by
1.8.11