This file is indexed.

/usr/share/doc/libghc-fixed-doc/html/Numeric-Fixed.html is in libghc-fixed-doc 0.2.1.1-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Numeric.Fixed</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Numeric-Fixed.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Numeric-Fixed.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">fixed-0.2.1.1: Signed 15.16 precision fixed point arithmetic</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(C) 2014-15 Edward Kmett</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>non-portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Numeric.Fixed</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Fixed precision arithmetic. This format is the same format used by
 OpenGL ES 1's <code>GLfixed</code> data type:</p><p>One sign bit, 15 bits to the left of the decimal place and 16 bits
 to the right packed into a 32-bit integer.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span> <a href="#t:Fixed">Fixed</a> = <a href="#v:Fixed">Fixed</a> {<ul class="subs"><li><a href="#v:getFixed">getFixed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-C-Types.html#t:CInt">CInt</a></li></ul>}</li><li class="src short"><a href="#v:fromFixed">fromFixed</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:toFixed">toFixed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Fixed" class="def">Fixed</a> <a href="src/Numeric-Fixed.html#Fixed" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></p><div class="doc"><p>A signed 2s complement 15.16 scale fixed precision number</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Fixed" class="def">Fixed</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:getFixed" class="def">getFixed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-C-Types.html#t:CInt">CInt</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:Fixed" class="caption collapser" onclick="toggleSection('i:Fixed')">Instances</p><div id="section.i:Fixed" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Bounded:1" class="instance expander" onclick="toggleSection('i:id:Fixed:Bounded:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-63" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Bounded:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:minBound">minBound</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:minBound" class="selflink">#</a></p><p class="src"><a href="#v:maxBound">maxBound</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:maxBound" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Enum:2" class="instance expander" onclick="toggleSection('i:id:Fixed:Enum:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-53" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; [<a href="Numeric-Fixed.html#t:Fixed">Fixed</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; [<a href="Numeric-Fixed.html#t:Fixed">Fixed</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; [<a href="Numeric-Fixed.html#t:Fixed">Fixed</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; [<a href="Numeric-Fixed.html#t:Fixed">Fixed</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Eq:3" class="instance expander" onclick="toggleSection('i:id:Fixed:Eq:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-31" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Eq:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Floating:4" class="instance expander" onclick="toggleSection('i:id:Fixed:Floating:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-85" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Floating:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Fractional:5" class="instance expander" onclick="toggleSection('i:id:Fixed:Fractional:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-67" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Fractional:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Num:6" class="instance expander" onclick="toggleSection('i:id:Fixed:Num:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-44" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Num:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Ord:7" class="instance expander" onclick="toggleSection('i:id:Fixed:Ord:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-31" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Ord:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Real:8" class="instance expander" onclick="toggleSection('i:id:Fixed:Real:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Real">Real</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-71" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Real:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:RealFloat:9" class="instance expander" onclick="toggleSection('i:id:Fixed:RealFloat:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:RealFloat">RealFloat</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-105" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:RealFloat:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:floatRadix">floatRadix</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> <a href="#v:floatRadix" class="selflink">#</a></p><p class="src"><a href="#v:floatDigits">floatDigits</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:floatDigits" class="selflink">#</a></p><p class="src"><a href="#v:floatRange">floatRange</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="#v:floatRange" class="selflink">#</a></p><p class="src"><a href="#v:decodeFloat">decodeFloat</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="#v:decodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:encodeFloat">encodeFloat</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:encodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:exponent">exponent</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:exponent" class="selflink">#</a></p><p class="src"><a href="#v:significand">significand</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:significand" class="selflink">#</a></p><p class="src"><a href="#v:scaleFloat">scaleFloat</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:scaleFloat" class="selflink">#</a></p><p class="src"><a href="#v:isNaN">isNaN</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:isNaN" class="selflink">#</a></p><p class="src"><a href="#v:isInfinite">isInfinite</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:isInfinite" class="selflink">#</a></p><p class="src"><a href="#v:isDenormalized">isDenormalized</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:isDenormalized" class="selflink">#</a></p><p class="src"><a href="#v:isNegativeZero">isNegativeZero</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:isNegativeZero" class="selflink">#</a></p><p class="src"><a href="#v:isIEEE">isIEEE</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:isIEEE" class="selflink">#</a></p><p class="src"><a href="#v:atan2">atan2</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:atan2" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:RealFrac:10" class="instance expander" onclick="toggleSection('i:id:Fixed:RealFrac:10')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:RealFrac">RealFrac</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-74" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:RealFrac:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:properFraction">properFraction</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b =&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; (b, <a href="Numeric-Fixed.html#t:Fixed">Fixed</a>) <a href="#v:properFraction" class="selflink">#</a></p><p class="src"><a href="#v:truncate">truncate</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b =&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; b <a href="#v:truncate" class="selflink">#</a></p><p class="src"><a href="#v:round">round</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b =&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; b <a href="#v:round" class="selflink">#</a></p><p class="src"><a href="#v:ceiling">ceiling</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b =&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; b <a href="#v:ceiling" class="selflink">#</a></p><p class="src"><a href="#v:floor">floor</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b =&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; b <a href="#v:floor" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Show:11" class="instance expander" onclick="toggleSection('i:id:Fixed:Show:11')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-41" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Show:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-Fixed.html#t:Fixed">Fixed</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Fixed:Storable:12" class="instance expander" onclick="toggleSection('i:id:Fixed:Storable:12')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Storable.html#t:Storable">Storable</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a></span> <a href="src/Numeric-Fixed.html#line-31" class="link">Source</a> <a href="#t:Fixed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Fixed:Storable:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:sizeOf">sizeOf</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:sizeOf" class="selflink">#</a></p><p class="src"><a href="#v:alignment">alignment</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:alignment" class="selflink">#</a></p><p class="src"><a href="#v:peekElemOff">peekElemOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:peekElemOff" class="selflink">#</a></p><p class="src"><a href="#v:pokeElemOff">pokeElemOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="#v:pokeElemOff" class="selflink">#</a></p><p class="src"><a href="#v:peekByteOff">peekByteOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> b -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:peekByteOff" class="selflink">#</a></p><p class="src"><a href="#v:pokeByteOff">pokeByteOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> b -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="#v:pokeByteOff" class="selflink">#</a></p><p class="src"><a href="#v:peek">peek</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="#v:peek" class="selflink">#</a></p><p class="src"><a href="#v:poke">poke</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="#v:poke" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:fromFixed" class="def">fromFixed</a> :: <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Numeric-Fixed.html#fromFixed" class="link">Source</a> <a href="#v:fromFixed" class="selflink">#</a></p><div class="doc"><p>Convert from a <code><a href="Numeric-Fixed.html#t:Fixed">Fixed</a></code> precision value to a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></code></p></div></div><div class="top"><p class="src"><a id="v:toFixed" class="def">toFixed</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -&gt; <a href="Numeric-Fixed.html#t:Fixed">Fixed</a> <a href="src/Numeric-Fixed.html#toFixed" class="link">Source</a> <a href="#v:toFixed" class="selflink">#</a></p><div class="doc"><p>Convert from a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></code> to a <code><a href="Numeric-Fixed.html#t:Fixed">Fixed</a></code> precision value</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>