aversive_10-03-12/modules/base/math/fixed_point/f32_sqrt.c File Reference

#include <stdio.h>
#include <f32.h>
#include <s32_to_f32.h>

Go to the source code of this file.

Defines

#define NEXT(n, i)   (((n) + (i)/(n)) >> 1)

Functions

f32 f32_sqrt (f32 f)


Define Documentation

#define NEXT ( n,
i   )     (((n) + (i)/(n)) >> 1)

Definition at line 26 of file f32_sqrt.c.


Function Documentation

f32 f32_sqrt ( f32  f  ) 

sqrt of f

Definition at line 46 of file f32_sqrt.c.

References a, F32_IS_NEG, F32_IS_ZERO, f32_mul(), F32_NAN, and F32_ZERO.


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6