summaryrefslogtreecommitdiff
path: root/static/freebsd/man3/Q_FRAWMASK.3 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man3/Q_FRAWMASK.3 3.html')
-rw-r--r--static/freebsd/man3/Q_FRAWMASK.3 3.html101
1 files changed, 101 insertions, 0 deletions
diff --git a/static/freebsd/man3/Q_FRAWMASK.3 3.html b/static/freebsd/man3/Q_FRAWMASK.3 3.html
new file mode 100644
index 00000000..841a9deb
--- /dev/null
+++ b/static/freebsd/man3/Q_FRAWMASK.3 3.html
@@ -0,0 +1,101 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">Q_FRAWMASK(3)</td>
+ <td class="head-vol">Library Functions Manual</td>
+ <td class="head-rtitle">Q_FRAWMASK(3)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">Q_FRAWMASK</code>,
+ <code class="Nm">Q_GFRAW</code>, <code class="Nm">Q_GFABSVAL</code>,
+ <code class="Nm">Q_GFVAL</code>, <code class="Nm">Q_SFVAL</code> &#x2014;
+ <span class="Nd">fixed-point math functions which manipulate the fractional
+ data bits</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="In">#include
+ &lt;<a class="In">sys/qmath.h</a>&gt;</code></p>
+<p class="Pp"><var class="Ft">ITYPE</var>
+ <br/>
+ <code class="Fn">Q_FRAWMASK</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">ITYPE</var>
+ <br/>
+ <code class="Fn">Q_GFRAW</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">ITYPE</var>
+ <br/>
+ <code class="Fn">Q_GFABSVAL</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">ITYPE</var>
+ <br/>
+ <code class="Fn">Q_GFVAL</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">QTYPE</var>
+ <br/>
+ <code class="Fn">Q_SFVAL</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>, <var class="Fa" style="white-space: nowrap;">ITYPE fv</var>);</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp"><a class="permalink" href="#Q_FRAWMASK"><code class="Fn" id="Q_FRAWMASK">Q_FRAWMASK</code></a>()
+ returns a <var class="Fa">q</var>-specific bit mask for
+ <var class="Fa">q</var>'s fractional data bits.</p>
+<p class="Pp" id="Q_GFRAW"><a class="permalink" href="#Q_GFRAW"><code class="Fn">Q_GFRAW</code></a>()
+ returns <var class="Fa">q</var>'s raw masked fractional data bits.</p>
+<p class="Pp" id="Q_GFABSVAL"><a class="permalink" href="#Q_GFABSVAL"><code class="Fn">Q_GFABSVAL</code></a>()
+ and
+ <a class="permalink" href="#Q_GFVAL"><code class="Fn" id="Q_GFVAL">Q_GFVAL</code></a>()
+ return the absolute and real values of <var class="Fa">q</var>'s fractional
+ data bits respectively.</p>
+<p class="Pp" id="Q_SFVAL"><a class="permalink" href="#Q_SFVAL"><code class="Fn">Q_SFVAL</code></a>()
+ sets <var class="Fa">q</var>'s fractional data bits to the value
+ <var class="Fa">fv</var>.</p>
+<p class="Pp">All of those functions operate on the following data types:
+ <var class="Vt">s8q_t</var>, <var class="Vt">u8q_t</var>,
+ <var class="Vt">s16q_t</var>, <var class="Vt">u16q_t</var>,
+ <var class="Vt">s32q_t</var>, <var class="Vt">u32q_t</var>,
+ <var class="Vt">s64q_t</var>, and <var class="Vt">u64q_t</var>, which are
+ referred to generically as <var class="Fa">QTYPE</var>. The
+ <var class="Fa">ITYPE</var> refers to the <a class="Xr">stdint(7)</a>
+ integer types.</p>
+<p class="Pp">For more details, see <a class="Xr">qmath(3)</a>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
+ VALUES</a></h1>
+<p class="Pp"><code class="Fn">Q_FRAWMASK</code>(),
+ <code class="Fn">Q_GFRAW</code>(), <code class="Fn">Q_GFABSVAL</code>() and
+ <code class="Fn">Q_GFVAL</code>() return their respective values as integers
+ of the same underlying ITYPE as <var class="Fa">q</var>.</p>
+<p class="Pp"><code class="Fn">Q_SFVAL</code>() returns the value of
+ <var class="Fa">q</var> post set.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">errno(2)</a>, <a class="Xr">qmath(3)</a>,
+ <a class="Xr">stdint(7)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <a class="Xr">qmath(3)</a> functions first appeared in
+ <span class="Ux">FreeBSD 13.0</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">The <a class="Xr">qmath(3)</a> functions and this manual page were
+ written by <span class="An">Lawrence Stewart</span>
+ &lt;<a class="Mt" href="mailto:lstewart@FreeBSD.org">lstewart@FreeBSD.org</a>&gt;
+ and sponsored by Netflix, Inc.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">July 8, 2018</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>