MIDAPACK - MIcrowave Data Analysis PACKage  1.1b
Parallel software tools for high performance CMB DA analysis
 All Data Structures Files Functions Variables Typedefs Groups Pages
bitop.c File Reference

Go to the source code of this file.

Functions

int is_pow_2 (int n)
int pow_2 (int k)
int log_2 (int n)

Detailed Description

Note:
Copyright (c) 2010-2012 APC CNRS Université Paris Diderot. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser 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 Lesser 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/lgpl.html

Definition in file bitop.c.


Function Documentation

int is_pow_2 ( int  n)

Definition at line 5 of file bitop.c.

int pow_2 ( int  k)

Definition at line 10 of file bitop.c.

int log_2 ( int  n)

Definition at line 20 of file bitop.c.