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

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

Go to the source code of this file.

Defines

#define POW2_32F   (4294967296.0)

Functions

f64 f64_from_double (double d)
double f64_to_double (f64 f)


Define Documentation

#define POW2_32F   (4294967296.0)

Definition at line 26 of file f64_double.c.

Referenced by f64_from_double(), and f64_to_double().


Function Documentation

f64 f64_from_double ( double  f  ) 

convert a double to a f64

Definition at line 31 of file f64_double.c.

References parse_symbols::f, and POW2_32F.

Referenced by rs_set_left_ext_encoder(), and rs_set_right_ext_encoder().

double f64_to_double ( f64  fix  ) 

convert a f64 to a double

Definition at line 40 of file f64_double.c.

References POW2_32F.

Referenced by f64_print().


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