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

#include <stdio.h>
#include <f16.h>
#include <s16_to_f16.h>

Go to the source code of this file.

Defines

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

Functions

f16 f16_sqrt (f16 f)


Define Documentation

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

Definition at line 27 of file f16_sqrt.c.


Function Documentation

f16 f16_sqrt ( f16  f  ) 

sqrt of f

Definition at line 47 of file f16_sqrt.c.

References a, F16_IS_NEG, f16_mul(), and F16_NAN.


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