\section{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-int.c File Reference}
\label{f32__int_8c}\index{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-int.c@{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-int.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$f32.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf f32} {\bf f32\_\-from\_\-integer} (int16\_\-t {\bf i}, uint16\_\-t d)
\item 
{\bf f32} {\bf f32\_\-from\_\-msb} (int16\_\-t {\bf i})
\item 
{\bf f32} {\bf f32\_\-from\_\-lsb} (int16\_\-t {\bf i})
\end{CompactItemize}


\subsection{Function Documentation}
\index{f32\_\-int.c@{f32\_\-int.c}!f32\_\-from\_\-integer@{f32\_\-from\_\-integer}}
\index{f32\_\-from\_\-integer@{f32\_\-from\_\-integer}!f32_int.c@{f32\_\-int.c}}
\subsubsection[f32\_\-from\_\-integer]{\setlength{\rightskip}{0pt plus 5cm}{\bf f32} f32\_\-from\_\-integer (int16\_\-t {\em i}, \/  uint16\_\-t {\em d})}\label{f32__int_8c_e501eff37e92fd4e7f778a7599eb903c}


convert 2 integer (int16\_\-t and uint16\_\-t) to a f32 

Definition at line 28 of file f32\_\-int.c.

References parse\_\-symbols::f.\index{f32\_\-int.c@{f32\_\-int.c}!f32\_\-from\_\-lsb@{f32\_\-from\_\-lsb}}
\index{f32\_\-from\_\-lsb@{f32\_\-from\_\-lsb}!f32_int.c@{f32\_\-int.c}}
\subsubsection[f32\_\-from\_\-lsb]{\setlength{\rightskip}{0pt plus 5cm}{\bf f32} f32\_\-from\_\-lsb (int16\_\-t {\em i})}\label{f32__int_8c_b4a06839fa14666418aa223c6d6429ec}


convert lsb integer (int16\_\-t) to a f32 ( -0.5 $<$ ret $<$ 0.5 ) 

Definition at line 51 of file f32\_\-int.c.

References parse\_\-symbols::f.\index{f32\_\-int.c@{f32\_\-int.c}!f32\_\-from\_\-msb@{f32\_\-from\_\-msb}}
\index{f32\_\-from\_\-msb@{f32\_\-from\_\-msb}!f32_int.c@{f32\_\-int.c}}
\subsubsection[f32\_\-from\_\-msb]{\setlength{\rightskip}{0pt plus 5cm}{\bf f32} f32\_\-from\_\-msb (int16\_\-t {\em i})}\label{f32__int_8c_f5ae4593dc37e108c9965a1a9a8bfee2}


convert msb integer (int16\_\-t) to a f32 

Definition at line 39 of file f32\_\-int.c.

References parse\_\-symbols::f.