This file is indexed.

/usr/share/doc/libghc-numbers-doc/html/Data-Number-CReal.html is in libghc-numbers-doc 3000.2.0.1-6build1.

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>Data.Number.CReal</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_Data-Number-CReal.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Number-CReal.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">numbers-3000.2.0.1: Various number types</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Number.CReal</p></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">data</span> <a href="#t:CReal">CReal</a></li><li class="src short"><a href="#v:showCReal">showCReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CReal" class="def">CReal</a> <a href="src/Data-Number-CReal.html#CReal" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></p><div class="doc"><p>The <code><a href="Data-Number-CReal.html#t:CReal">CReal</a></code> type implements (constructive) real numbers.</p><p>Note that the comparison operations on <code><a href="Data-Number-CReal.html#t:CReal">CReal</a></code> may diverge
 since it is (by necessity) impossible to implementent them
 correctly and always terminating.</p><p>This implementation is really David Lester's ERA package.</p></div><div class="subs instances"><p id="control.i:CReal" class="caption collapser" onclick="toggleSection('i:CReal')">Instances</p><div id="section.i:CReal" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CReal:Enum:1" class="instance expander" onclick="toggleSection('i:id:CReal:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-164" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; [<a href="Data-Number-CReal.html#t:CReal">CReal</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; [<a href="Data-Number-CReal.html#t:CReal">CReal</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; [<a href="Data-Number-CReal.html#t:CReal">CReal</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; [<a href="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Eq:2" class="instance expander" onclick="toggleSection('i:id:CReal:Eq:2')"></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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-22" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Eq:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Floating:3" class="instance expander" onclick="toggleSection('i:id:CReal:Floating:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-58" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Floating:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Fractional:4" class="instance expander" onclick="toggleSection('i:id:CReal:Fractional:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-43" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Fractional:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Num:5" class="instance expander" onclick="toggleSection('i:id:CReal:Num:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-33" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Num:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Ord:6" class="instance expander" onclick="toggleSection('i:id:CReal:Ord:6')"></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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-25" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Ord:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Read:7" class="instance expander" onclick="toggleSection('i:id:CReal:Read:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-218" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal:Read:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Data-Number-CReal.html#t:CReal">CReal</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Data-Number-CReal.html#t:CReal">CReal</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CReal:Real:8" class="instance expander" onclick="toggleSection('i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-173" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</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:CReal:RealFloat:9" class="instance expander" onclick="toggleSection('i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-179" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:encodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:exponent">exponent</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> <a href="#v:scaleFloat" class="selflink">#</a></p><p class="src"><a href="#v:isNaN">isNaN</a> :: <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</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:CReal:RealFrac:10" class="instance expander" onclick="toggleSection('i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-176" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</a> -&gt; (b, <a href="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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:CReal:Show:11" class="instance expander" onclick="toggleSection('i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</a></span> <a href="src/Data-Number-CReal.html#line-221" class="link">Source</a> <a href="#t:CReal" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CReal: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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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="Data-Number-CReal.html#t:CReal">CReal</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></table></div></div></div><div class="top"><p class="src"><a id="v:showCReal" class="def">showCReal</a> <a href="src/Data-Number-CReal.html#showCReal" class="link">Source</a> <a href="#v:showCReal" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>The number of decimals</p></td></tr><tr><td class="src">-&gt; <a href="Data-Number-CReal.html#t:CReal">CReal</a></td><td class="doc"><p>The real number</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The resulting string</p></td></tr></table></div><div class="doc"><p>The <code><a href="Data-Number-CReal.html#v:showCReal">showCReal</a></code> function connverts a <code><a href="Data-Number-CReal.html#t:CReal">CReal</a></code> to a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code>.</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>