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


\subsection{Define Documentation}
\index{f64\_\-double.c@{f64\_\-double.c}!POW2\_\-32F@{POW2\_\-32F}}
\index{POW2\_\-32F@{POW2\_\-32F}!f64_double.c@{f64\_\-double.c}}
\subsubsection[POW2\_\-32F]{\setlength{\rightskip}{0pt plus 5cm}\#define POW2\_\-32F~(4294967296.0)}\label{f64__double_8c_68409b54cb95e2091ac429299a9fd1b8}




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

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

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


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().\index{f64\_\-double.c@{f64\_\-double.c}!f64\_\-to\_\-double@{f64\_\-to\_\-double}}
\index{f64\_\-to\_\-double@{f64\_\-to\_\-double}!f64_double.c@{f64\_\-double.c}}
\subsubsection[f64\_\-to\_\-double]{\setlength{\rightskip}{0pt plus 5cm}double f64\_\-to\_\-double ({\bf f64} {\em fix})}\label{f64__double_8c_0168ab52c85a850f25acc0ba1de1d27a}


convert a f64 to a double 

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

References POW2\_\-32F.

Referenced by f64\_\-print().