GeNN
1.1
GPU enhanced Neuronal Networks (GeNN)
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
Pages
simpleBit.h
Go to the documentation of this file.
1
#ifndef SIMPLEBIT_H
2
#define SIMPLEBIT_H
3
4
#include <cassert>
5
#include <cmath>
6
7
//-----------------------------------------------------------------------
12
//-----------------------------------------------------------------------
13
14
// bit tool macros
15
#define B(x,i) ((x) & (0x80000000 >> (i)))
16
17
#define setB(x,i) x= ((x) | (0x80000000 >> (i)))
18
19
#define delB(x,i) x= ((x) & (~(0x80000000 >> (i))))
20
21
#endif
lib
include
numlib
simpleBit.h
Generated on Tue Aug 19 2014 17:57:23 for GeNN by
1.8.6