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

#include <stdio.h>
#include <f64.h>
#include <s64_to_f64.h>

Go to the source code of this file.

Defines

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

Functions

f64 f64_sqrt (f64 f)


Define Documentation

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

Definition at line 26 of file f64_sqrt.c.


Function Documentation

f64 f64_sqrt ( f64  f  ) 

sqrt of f

Definition at line 45 of file f64_sqrt.c.

References a, F64_IS_NEG, F64_IS_ZERO, f64_mul(), F64_NAN, and F64_ZERO.


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