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

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

Go to the source code of this file.

Functions

f64 f64_from_integer (int32_t i, uint32_t d)
f64 f64_from_msb (int32_t i)
f64 f64_from_lsb (int32_t i)


Function Documentation

f64 f64_from_integer ( int32_t  i,
uint32_t  d 
)

convert 2 integer (int32_t and uint32_t) to a f64

Definition at line 27 of file f64_int.c.

References parse_symbols::f.

f64 f64_from_lsb ( int32_t  i  ) 

convert lsb integer (int32_t) to a f64 ( -0.5 < ret < 0.5 )

Definition at line 50 of file f64_int.c.

References parse_symbols::f.

Referenced by rs_update().

f64 f64_from_msb ( int32_t  i  ) 

convert msb integer (int32_t) to a f64

Definition at line 38 of file f64_int.c.

References parse_symbols::f.


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