\section{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-double.c File Reference}
\label{f32__double_8c}\index{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-double.c@{aversive\_\-10-03-12/modules/base/math/fixed\_\-point/f32\_\-double.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$f32.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf POW2\_\-16F}~(65536.0)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf f32} {\bf f32\_\-from\_\-double} (double d)
\item 
double {\bf f32\_\-to\_\-double} ({\bf f32} f)
\end{CompactItemize}


\subsection{Define Documentation}
\index{f32\_\-double.c@{f32\_\-double.c}!POW2\_\-16F@{POW2\_\-16F}}
\index{POW2\_\-16F@{POW2\_\-16F}!f32_double.c@{f32\_\-double.c}}
\subsubsection[POW2\_\-16F]{\setlength{\rightskip}{0pt plus 5cm}\#define POW2\_\-16F~(65536.0)}\label{f32__double_8c_e82cdf5b7e4fe5a048c2a810035e741d}




Definition at line 26 of file f32\_\-double.c.

Referenced by f32\_\-from\_\-double(), and f32\_\-to\_\-double().

\subsection{Function Documentation}
\index{f32\_\-double.c@{f32\_\-double.c}!f32\_\-from\_\-double@{f32\_\-from\_\-double}}
\index{f32\_\-from\_\-double@{f32\_\-from\_\-double}!f32_double.c@{f32\_\-double.c}}
\subsubsection[f32\_\-from\_\-double]{\setlength{\rightskip}{0pt plus 5cm}{\bf f32} f32\_\-from\_\-double (double {\em f})}\label{f32__double_8c_492c87931b1362146d8d5e482abe0a60}


convert a double to a f32 

Definition at line 31 of file f32\_\-double.c.

References parse\_\-symbols::f, and POW2\_\-16F.\index{f32\_\-double.c@{f32\_\-double.c}!f32\_\-to\_\-double@{f32\_\-to\_\-double}}
\index{f32\_\-to\_\-double@{f32\_\-to\_\-double}!f32_double.c@{f32\_\-double.c}}
\subsubsection[f32\_\-to\_\-double]{\setlength{\rightskip}{0pt plus 5cm}double f32\_\-to\_\-double ({\bf f32} {\em fix})}\label{f32__double_8c_49b2c04aebd0f009638f89a2b47a8dda}


convert a f32 to a double 

Definition at line 40 of file f32\_\-double.c.

References POW2\_\-16F.

Referenced by f32\_\-print().