Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dvb_math.h
Go to the documentation of this file.
1 /*
2  * dvb-math provides some complex fixed-point math
3  * operations shared between the dvb related stuff
4  *
5  * Copyright (C) 2006 Christoph Pfister ([email protected])
6  *
7  * This library is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as
9  * published by the Free Software Foundation; either version 2.1 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */
21 
22 #ifndef __DVB_MATH_H
23 #define __DVB_MATH_H
24 
25 #include <linux/types.h>
26 
40 extern unsigned int intlog2(u32 value);
41 
56 extern unsigned int intlog10(u32 value);
57 
58 #endif