03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.352.2 Description<br />

Double to single precision correction constant <strong>for</strong> π, equal to ( π(Double) - π(Single)).<br />

8.353 Define FLOAT_PI_CORRECTION<br />

#include <br />

8.353.1 Macro Definition<br />

#define FLOAT_PI_CORRECTION ((tFloat)8.74204136E-8)<br />

8.353.2 Description<br />

Double to single precision correction constant <strong>for</strong> π, equal to (2*( π(Double) - π(Single)).<br />

8.354 Define FLOAT_PI_DIVBY_4<br />

#include <br />

8.354.1 Macro Definition<br />

#define FLOAT_PI_DIVBY_4 ((tFloat) 0.7853981633974480)<br />

8.354.2 Description<br />

π/4 in single precision floating point <strong>for</strong>mat.<br />

8.355 Define FLOAT_4_DIVBY_PI<br />

#include <br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Chapter 8 Macro References<br />

Freescale Semiconductor, Inc. 921

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!