📄 group__fix.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Maths - 32bit Fixed-Point Maths</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.1 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>Maths - 32bit Fixed-Point Maths</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Routines for performing 32bit fixed-point maths. <p>This code is targeted at CPUs without hardware support for division or floating point. It has been optimised for ARM CPUs but should be suitable for other RISC architecures. <p><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classFix.html">Fix</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Fixed point arithmatic functions. <a href="classFix.html#_details">More...</a><br></td></tr><tr><td colspan="2"><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__integers.html#ga5">int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__fix.html#ga0">fix</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__integers.html#ga2">uint32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__fix.html#ga1">ufix</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__fix.html#ga0">fix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__fix.html#ga2">fixangle</a></td></tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="fix.h::fix"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__integers.html#ga5">int32</a> <a class="el" href="group__fix.html#ga0">fix</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type representing a 32bit fixed-point number. The binary point lies between bits 15 and 16. <p>Definition at line <a class="el" href="fix_8h-source.html#l00042">42</a> of file <a class="el" href="fix_8h-source.html">fix.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="fix.h::ufix"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__integers.html#ga2">uint32</a> <a class="el" href="group__fix.html#ga1">ufix</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type representing a 32bit unsigned fixed-point number. The binary point lies between bits 15 and 16. <p>Definition at line <a class="el" href="fix_8h-source.html#l00048">48</a> of file <a class="el" href="fix_8h-source.html">fix.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="fix.h::fixangle"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__fix.html#ga0">fix</a> <a class="el" href="group__fix.html#ga2">fixangle</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A 32bit fixed-point value representing an angle. Values are scaled by a factor of 1/(2*PI), i.e. a value of 1.0 (0x10000) represents a full circle. <p>Definition at line <a class="el" href="fix_8h-source.html#l00055">55</a> of file <a class="el" href="fix_8h-source.html">fix.h</a>. </td> </tr></table><HR><ADDRESS STYLE="align: right;"><SMALL>Generated by <A HREF="http://www.doxygen.org/index.html"><IMG SRC="doxygen.png" ALT="doxygen" ALIGN="middle" BORDER="0"></A> 1.4.1</SMALL></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -