-
Notifications
You must be signed in to change notification settings - Fork 0
/
Eta-Classes-RealFloat.html
5 lines (5 loc) · 10.3 KB
/
Eta-Classes-RealFloat.html
1
2
3
4
5
<!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>Eta.Classes.RealFloat</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Eta-Classes-RealFloat.html");};
//]]>
</script></head><body class="no-frame"><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption empty"> </p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr></table><p class="caption">Eta.Classes.RealFloat</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The <code><a href="Eta-Classes-RealFloat.html#t:RealFloat">RealFloat</a></code> type class defines an interface
to extract components from floating point numbers.</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Eta-Classes-RealFrac.html#t:RealFrac">RealFrac</a> a, <a href="Eta-Classes-Floating.html#t:Floating">Floating</a> a) => <a id="t:RealFloat" class="def">RealFloat</a> a <span class="keyword">where</span> <a href="#t:RealFloat" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Eta-Classes-RealFloat.html#v:floatRadix">floatRadix</a>, <a href="Eta-Classes-RealFloat.html#v:floatDigits">floatDigits</a>, <a href="Eta-Classes-RealFloat.html#v:floatRange">floatRange</a>, <a href="Eta-Classes-RealFloat.html#v:decodeFloat">decodeFloat</a>, <a href="Eta-Classes-RealFloat.html#v:encodeFloat">encodeFloat</a>, <a href="Eta-Classes-RealFloat.html#v:isNaN">isNaN</a>, <a href="Eta-Classes-RealFloat.html#v:isInfinite">isInfinite</a>, <a href="Eta-Classes-RealFloat.html#v:isDenormalized">isDenormalized</a>, <a href="Eta-Classes-RealFloat.html#v:isNegativeZero">isNegativeZero</a>, <a href="Eta-Classes-RealFloat.html#v:isIEEE">isIEEE</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:floatRadix" class="def">floatRadix</a> :: a -> Integer <a href="#v:floatRadix" class="selflink">#</a></p><p class="src"><a id="v:floatDigits" class="def">floatDigits</a> :: a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:floatDigits" class="selflink">#</a></p><p class="src"><a id="v:floatRange" class="def">floatRange</a> :: a -> (<a href="Eta-Types.html#t:Int">Int</a>, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:floatRange" class="selflink">#</a></p><p class="src"><a id="v:decodeFloat" class="def">decodeFloat</a> :: a -> (Integer, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:decodeFloat" class="selflink">#</a></p><p class="src"><a id="v:encodeFloat" class="def">encodeFloat</a> :: Integer -> <a href="Eta-Types.html#t:Int">Int</a> -> a <a href="#v:encodeFloat" class="selflink">#</a></p><p class="src"><a id="v:exponent" class="def">exponent</a> :: a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:exponent" class="selflink">#</a></p><p class="src"><a id="v:significand" class="def">significand</a> :: a -> a <a href="#v:significand" class="selflink">#</a></p><p class="src"><a id="v:scaleFloat" class="def">scaleFloat</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> a -> a <a href="#v:scaleFloat" class="selflink">#</a></p><p class="src"><a id="v:isNaN" class="def">isNaN</a> :: a -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNaN" class="selflink">#</a></p><p class="src"><a id="v:isInfinite" class="def">isInfinite</a> :: a -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isInfinite" class="selflink">#</a></p><p class="src"><a id="v:isDenormalized" class="def">isDenormalized</a> :: a -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isDenormalized" class="selflink">#</a></p><p class="src"><a id="v:isNegativeZero" class="def">isNegativeZero</a> :: a -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNegativeZero" class="selflink">#</a></p><p class="src"><a id="v:isIEEE" class="def">isIEEE</a> :: a -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isIEEE" class="selflink">#</a></p><p class="src"><a id="v:atan2" class="def">atan2</a> :: a -> a -> a <a href="#v:atan2" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:RealFloat" class="caption collapser" onclick="toggleSection('i:RealFloat')">Instances</p><div id="section.i:RealFloat" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:RealFloat:RealFloat:1" class="instance expander" onclick="toggleSection('i:ic:RealFloat:RealFloat:1')"></span> <a href="Eta-Classes-RealFloat.html#t:RealFloat">RealFloat</a> Double</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:RealFloat:RealFloat:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:floatRadix">floatRadix</a> :: Double -> Integer <a href="#v:floatRadix" class="selflink">#</a></p><p class="src"><a href="#v:floatDigits">floatDigits</a> :: Double -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:floatDigits" class="selflink">#</a></p><p class="src"><a href="#v:floatRange">floatRange</a> :: Double -> (<a href="Eta-Types.html#t:Int">Int</a>, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:floatRange" class="selflink">#</a></p><p class="src"><a href="#v:decodeFloat">decodeFloat</a> :: Double -> (Integer, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:decodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:encodeFloat">encodeFloat</a> :: Integer -> <a href="Eta-Types.html#t:Int">Int</a> -> Double <a href="#v:encodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:exponent">exponent</a> :: Double -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:exponent" class="selflink">#</a></p><p class="src"><a href="#v:significand">significand</a> :: Double -> Double <a href="#v:significand" class="selflink">#</a></p><p class="src"><a href="#v:scaleFloat">scaleFloat</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Double -> Double <a href="#v:scaleFloat" class="selflink">#</a></p><p class="src"><a href="#v:isNaN">isNaN</a> :: Double -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNaN" class="selflink">#</a></p><p class="src"><a href="#v:isInfinite">isInfinite</a> :: Double -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isInfinite" class="selflink">#</a></p><p class="src"><a href="#v:isDenormalized">isDenormalized</a> :: Double -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isDenormalized" class="selflink">#</a></p><p class="src"><a href="#v:isNegativeZero">isNegativeZero</a> :: Double -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNegativeZero" class="selflink">#</a></p><p class="src"><a href="#v:isIEEE">isIEEE</a> :: Double -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isIEEE" class="selflink">#</a></p><p class="src"><a href="#v:atan2">atan2</a> :: Double -> Double -> Double <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:ic:RealFloat:RealFloat:2" class="instance expander" onclick="toggleSection('i:ic:RealFloat:RealFloat:2')"></span> <a href="Eta-Classes-RealFloat.html#t:RealFloat">RealFloat</a> Float</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:RealFloat:RealFloat:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:floatRadix">floatRadix</a> :: Float -> Integer <a href="#v:floatRadix" class="selflink">#</a></p><p class="src"><a href="#v:floatDigits">floatDigits</a> :: Float -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:floatDigits" class="selflink">#</a></p><p class="src"><a href="#v:floatRange">floatRange</a> :: Float -> (<a href="Eta-Types.html#t:Int">Int</a>, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:floatRange" class="selflink">#</a></p><p class="src"><a href="#v:decodeFloat">decodeFloat</a> :: Float -> (Integer, <a href="Eta-Types.html#t:Int">Int</a>) <a href="#v:decodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:encodeFloat">encodeFloat</a> :: Integer -> <a href="Eta-Types.html#t:Int">Int</a> -> Float <a href="#v:encodeFloat" class="selflink">#</a></p><p class="src"><a href="#v:exponent">exponent</a> :: Float -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:exponent" class="selflink">#</a></p><p class="src"><a href="#v:significand">significand</a> :: Float -> Float <a href="#v:significand" class="selflink">#</a></p><p class="src"><a href="#v:scaleFloat">scaleFloat</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Float -> Float <a href="#v:scaleFloat" class="selflink">#</a></p><p class="src"><a href="#v:isNaN">isNaN</a> :: Float -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNaN" class="selflink">#</a></p><p class="src"><a href="#v:isInfinite">isInfinite</a> :: Float -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isInfinite" class="selflink">#</a></p><p class="src"><a href="#v:isDenormalized">isDenormalized</a> :: Float -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isDenormalized" class="selflink">#</a></p><p class="src"><a href="#v:isNegativeZero">isNegativeZero</a> :: Float -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isNegativeZero" class="selflink">#</a></p><p class="src"><a href="#v:isIEEE">isIEEE</a> :: Float -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:isIEEE" class="selflink">#</a></p><p class="src"><a href="#v:atan2">atan2</a> :: Float -> Float -> Float <a href="#v:atan2" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.4</p></div></body></html>