Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
int_sqrt.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>

Go to the source code of this file.

Functions

unsigned long int_sqrt (unsigned long x)
 
 EXPORT_SYMBOL (int_sqrt)
 

Function Documentation

EXPORT_SYMBOL ( int_sqrt  )
unsigned long int_sqrt ( unsigned long  x)

int_sqrt - rough approximation to sqrt : integer of which to calculate the sqrt

A very rough approximation to the sqrt() function.

Definition at line 11 of file int_sqrt.c.