summaryrefslogtreecommitdiff
path: root/static/freebsd/man3/Q_QABS.3 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man3/Q_QABS.3 4.html')
-rw-r--r--static/freebsd/man3/Q_QABS.3 4.html84
1 files changed, 84 insertions, 0 deletions
diff --git a/static/freebsd/man3/Q_QABS.3 4.html b/static/freebsd/man3/Q_QABS.3 4.html
new file mode 100644
index 00000000..210c2ce5
--- /dev/null
+++ b/static/freebsd/man3/Q_QABS.3 4.html
@@ -0,0 +1,84 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">Q_QABS(3)</td>
+ <td class="head-vol">Library Functions Manual</td>
+ <td class="head-rtitle">Q_QABS(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_QABS</code>, <code class="Nm">Q_Q2S</code>,
+ <code class="Nm">Q_Q2F</code> &#x2014; <span class="Nd">fixed-point math
+ functions which operate on a single Q number</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">QTYPE</var>
+ <br/>
+ <code class="Fn">Q_QABS</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">double</var>
+ <br/>
+ <code class="Fn">Q_Q2D</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+<p class="Pp"><var class="Ft">float</var>
+ <br/>
+ <code class="Fn">Q_Q2F</code>(<var class="Fa" style="white-space: nowrap;">QTYPE
+ q</var>);</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The
+ <a class="permalink" href="#Q_QABS"><code class="Fn" id="Q_QABS">Q_QABS</code></a>()
+ function returns an absolute value representation of
+ <var class="Fa">q</var>.</p>
+<p class="Pp" id="Q_Q2D">The
+ <a class="permalink" href="#Q_Q2D"><code class="Fn">Q_Q2D</code></a>() and
+ <a class="permalink" href="#Q_Q2F"><code class="Fn" id="Q_Q2F">Q_Q2F</code></a>()
+ functions return the double and float representations of
+ <var class="Fa">q</var> respectively.</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>.</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_QABS</code>() function returns a QTYPE that is
+ identical to that of <var class="Fa">q</var>.</p>
+<p class="Pp">The <code class="Fn">Q_Q2D</code>() and
+ <code class="Fn">Q_Q2F</code>() functions return the double and float
+ representations of <var class="Fa">q</var> respectively.</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>