|
- <!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/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: testing::internal::FloatingPoint< RawType > Class Template Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('classtesting_1_1internal_1_1_floating_point.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="summary">
- <a href="#nested-classes">Classes</a> |
- <a href="#pub-types">Public Types</a> |
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pub-static-methods">Static Public Member Functions</a> |
- <a href="#pub-static-attribs">Static Public Attributes</a> |
- <a href="classtesting_1_1internal_1_1_floating_point-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">testing::internal::FloatingPoint< RawType > Class Template Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p><code>#include <<a class="el" href="gtest_8h_source.html">gtest.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:abf228bf6cd48f12c8b44c85b4971a731"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classtesting_1_1internal_1_1_type_with_size.html">TypeWithSize</a>< sizeof(RawType)>::UInt </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a></td></tr>
- <tr class="separator:abf228bf6cd48f12c8b44c85b4971a731"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:a0dabf840863e0df84046f171c891fe71"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0dabf840863e0df84046f171c891fe71">FloatingPoint</a> (const RawType &x)</td></tr>
- <tr class="separator:a0dabf840863e0df84046f171c891fe71"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aab053be914bdc9e507c0db89740c318c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aab053be914bdc9e507c0db89740c318c">bits</a> () const</td></tr>
- <tr class="separator:aab053be914bdc9e507c0db89740c318c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af6bf8fab8df572ecb137a3516ff390ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#af6bf8fab8df572ecb137a3516ff390ae">exponent_bits</a> () const</td></tr>
- <tr class="separator:af6bf8fab8df572ecb137a3516ff390ae"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa17337e50a2ac855719bc0676529558f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aa17337e50a2ac855719bc0676529558f">fraction_bits</a> () const</td></tr>
- <tr class="separator:aa17337e50a2ac855719bc0676529558f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afb8a816bb598225d775caaf43a893ef0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#afb8a816bb598225d775caaf43a893ef0">sign_bit</a> () const</td></tr>
- <tr class="separator:afb8a816bb598225d775caaf43a893ef0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1fc654fd206efa98e480aa1e034f30d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a1fc654fd206efa98e480aa1e034f30d5">is_nan</a> () const</td></tr>
- <tr class="separator:a1fc654fd206efa98e480aa1e034f30d5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a965214c1af2f9ac5adb1393794aa81e5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a965214c1af2f9ac5adb1393794aa81e5">AlmostEquals</a> (const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">FloatingPoint</a> &rhs) const</td></tr>
- <tr class="separator:a965214c1af2f9ac5adb1393794aa81e5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af2eda9331e679229a1baa3404b57b51d"><td class="memTemplParams" colspan="2">template<> </td></tr>
- <tr class="memitem:af2eda9331e679229a1baa3404b57b51d"><td class="memTemplItemLeft" align="right" valign="top">float </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#af2eda9331e679229a1baa3404b57b51d">Max</a> ()</td></tr>
- <tr class="separator:af2eda9331e679229a1baa3404b57b51d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afc2e85c0e886cb13b2300e961c9a9648"><td class="memTemplParams" colspan="2">template<> </td></tr>
- <tr class="memitem:afc2e85c0e886cb13b2300e961c9a9648"><td class="memTemplItemLeft" align="right" valign="top">double </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#afc2e85c0e886cb13b2300e961c9a9648">Max</a> ()</td></tr>
- <tr class="separator:afc2e85c0e886cb13b2300e961c9a9648"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
- Static Public Member Functions</h2></td></tr>
- <tr class="memitem:ac551f793522e54fbd8a25acb79eac5b1"><td class="memItemLeft" align="right" valign="top">static RawType </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ac551f793522e54fbd8a25acb79eac5b1">ReinterpretBits</a> (const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aab053be914bdc9e507c0db89740c318c">bits</a>)</td></tr>
- <tr class="separator:ac551f793522e54fbd8a25acb79eac5b1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a460027cc19cf01ae8e09cc3796b2b575"><td class="memItemLeft" align="right" valign="top">static RawType </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a460027cc19cf01ae8e09cc3796b2b575">Infinity</a> ()</td></tr>
- <tr class="separator:a460027cc19cf01ae8e09cc3796b2b575"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aae5954d8a57d3ff0987c6930cb68e114"><td class="memItemLeft" align="right" valign="top">static RawType </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aae5954d8a57d3ff0987c6930cb68e114">Max</a> ()</td></tr>
- <tr class="separator:aae5954d8a57d3ff0987c6930cb68e114"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
- Static Public Attributes</h2></td></tr>
- <tr class="memitem:ab819d2e8f93e9e482373999f0f8d71b9"><td class="memItemLeft" align="right" valign="top">static const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ab819d2e8f93e9e482373999f0f8d71b9">kBitCount</a> = 8*sizeof(RawType)</td></tr>
- <tr class="separator:ab819d2e8f93e9e482373999f0f8d71b9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0b756a6d2a4f5f5b41ca79651c06c043"><td class="memItemLeft" align="right" valign="top">static const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0b756a6d2a4f5f5b41ca79651c06c043">kFractionBitCount</a></td></tr>
- <tr class="separator:a0b756a6d2a4f5f5b41ca79651c06c043"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1973d843c00781053d3073daa8a40119"><td class="memItemLeft" align="right" valign="top">static const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a1973d843c00781053d3073daa8a40119">kExponentBitCount</a> = <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ab819d2e8f93e9e482373999f0f8d71b9">kBitCount</a> - 1 - <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0b756a6d2a4f5f5b41ca79651c06c043">kFractionBitCount</a></td></tr>
- <tr class="separator:a1973d843c00781053d3073daa8a40119"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aca98b5ea6f2222a66a82e52421682efa"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aca98b5ea6f2222a66a82e52421682efa">kSignBitMask</a> = static_cast<<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a>>(1) << (<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ab819d2e8f93e9e482373999f0f8d71b9">kBitCount</a> - 1)</td></tr>
- <tr class="separator:aca98b5ea6f2222a66a82e52421682efa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0ac75d4ffd24f14bca452abe8a718da1"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0ac75d4ffd24f14bca452abe8a718da1">kFractionBitMask</a></td></tr>
- <tr class="separator:a0ac75d4ffd24f14bca452abe8a718da1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a66065dfc4d5f41100f686159637af23b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a66065dfc4d5f41100f686159637af23b">kExponentBitMask</a> = ~(<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aca98b5ea6f2222a66a82e52421682efa">kSignBitMask</a> | <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0ac75d4ffd24f14bca452abe8a718da1">kFractionBitMask</a>)</td></tr>
- <tr class="separator:a66065dfc4d5f41100f686159637af23b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aac498b3714d93f8e88cdc30e4c5935f6"><td class="memItemLeft" align="right" valign="top">static const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aac498b3714d93f8e88cdc30e4c5935f6">kMaxUlps</a> = 4</td></tr>
- <tr class="separator:aac498b3714d93f8e88cdc30e4c5935f6"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><h3>template<typename RawType><br />
- class testing::internal::FloatingPoint< RawType ></h3>
-
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06687">6687</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
- </div><h2 class="groupheader">Member Typedef Documentation</h2>
- <a id="abf228bf6cd48f12c8b44c85b4971a731"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abf228bf6cd48f12c8b44c85b4971a731">◆ </a></span>Bits</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="memname">
- <tr>
- <td class="memname">typedef <a class="el" href="classtesting_1_1internal_1_1_type_with_size.html">TypeWithSize</a><sizeof(RawType)>::UInt <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06691">6691</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a0dabf840863e0df84046f171c891fe71"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0dabf840863e0df84046f171c891fe71">◆ </a></span>FloatingPoint()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::<a class="el" href="classtesting_1_1internal_1_1_floating_point.html">FloatingPoint</a> </td>
- <td>(</td>
- <td class="paramtype">const RawType & </td>
- <td class="paramname"><em>x</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06735">6735</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a965214c1af2f9ac5adb1393794aa81e5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a965214c1af2f9ac5adb1393794aa81e5">◆ </a></span>AlmostEquals()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::AlmostEquals </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">FloatingPoint</a>< RawType > & </td>
- <td class="paramname"><em>rhs</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06783">6783</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="aab053be914bdc9e507c0db89740c318c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aab053be914bdc9e507c0db89740c318c">◆ </a></span>bits()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a>& <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::bits </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06759">6759</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="af6bf8fab8df572ecb137a3516ff390ae"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af6bf8fab8df572ecb137a3516ff390ae">◆ </a></span>exponent_bits()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::exponent_bits </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06762">6762</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="aa17337e50a2ac855719bc0676529558f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa17337e50a2ac855719bc0676529558f">◆ </a></span>fraction_bits()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::fraction_bits </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06765">6765</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a460027cc19cf01ae8e09cc3796b2b575"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a460027cc19cf01ae8e09cc3796b2b575">◆ </a></span>Infinity()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static RawType <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::Infinity </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06749">6749</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a1fc654fd206efa98e480aa1e034f30d5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1fc654fd206efa98e480aa1e034f30d5">◆ </a></span>is_nan()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::is_nan </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06771">6771</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="aae5954d8a57d3ff0987c6930cb68e114"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aae5954d8a57d3ff0987c6930cb68e114">◆ </a></span>Max() <span class="overload">[1/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static RawType <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::Max </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="af2eda9331e679229a1baa3404b57b51d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af2eda9331e679229a1baa3404b57b51d">◆ </a></span>Max() <span class="overload">[2/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">float <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< float >::Max </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06839">6839</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="afc2e85c0e886cb13b2300e961c9a9648"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#afc2e85c0e886cb13b2300e961c9a9648">◆ </a></span>Max() <span class="overload">[3/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">double <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< double >::Max </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06841">6841</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="ac551f793522e54fbd8a25acb79eac5b1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ac551f793522e54fbd8a25acb79eac5b1">◆ </a></span>ReinterpretBits()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static RawType <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::ReinterpretBits </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> </td>
- <td class="paramname"><em>bits</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06742">6742</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="afb8a816bb598225d775caaf43a893ef0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#afb8a816bb598225d775caaf43a893ef0">◆ </a></span>sign_bit()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::sign_bit </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06768">6768</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="ab819d2e8f93e9e482373999f0f8d71b9"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab819d2e8f93e9e482373999f0f8d71b9">◆ </a></span>kBitCount</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const size_t <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kBitCount = 8*sizeof(RawType)</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06696">6696</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a1973d843c00781053d3073daa8a40119"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1973d843c00781053d3073daa8a40119">◆ </a></span>kExponentBitCount</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const size_t <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kExponentBitCount = <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ab819d2e8f93e9e482373999f0f8d71b9">kBitCount</a> - 1 - <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0b756a6d2a4f5f5b41ca79651c06c043">kFractionBitCount</a></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06703">6703</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a66065dfc4d5f41100f686159637af23b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a66065dfc4d5f41100f686159637af23b">◆ </a></span>kExponentBitMask</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kExponentBitMask = ~(<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#aca98b5ea6f2222a66a82e52421682efa">kSignBitMask</a> | <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#a0ac75d4ffd24f14bca452abe8a718da1">kFractionBitMask</a>)</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06713">6713</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a0b756a6d2a4f5f5b41ca79651c06c043"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0b756a6d2a4f5f5b41ca79651c06c043">◆ </a></span>kFractionBitCount</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const size_t <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kFractionBitCount</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line"> std::numeric_limits<RawType>::digits - 1</div></div><!-- fragment -->
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06699">6699</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="a0ac75d4ffd24f14bca452abe8a718da1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0ac75d4ffd24f14bca452abe8a718da1">◆ </a></span>kFractionBitMask</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kFractionBitMask</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line"> ~static_cast<<a class="code" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a>>(0) >> (<a class="code" href="classtesting_1_1internal_1_1_floating_point.html#a1973d843c00781053d3073daa8a40119">kExponentBitCount</a> + 1)</div></div><!-- fragment -->
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06709">6709</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="aac498b3714d93f8e88cdc30e4c5935f6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aac498b3714d93f8e88cdc30e4c5935f6">◆ </a></span>kMaxUlps</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const size_t <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kMaxUlps = 4</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06727">6727</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <a id="aca98b5ea6f2222a66a82e52421682efa"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aca98b5ea6f2222a66a82e52421682efa">◆ </a></span>kSignBitMask</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename RawType> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">const <a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a> <a class="el" href="classtesting_1_1internal_1_1_floating_point.html">testing::internal::FloatingPoint</a>< RawType >::kSignBitMask = static_cast<<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#abf228bf6cd48f12c8b44c85b4971a731">Bits</a>>(1) << (<a class="el" href="classtesting_1_1internal_1_1_floating_point.html#ab819d2e8f93e9e482373999f0f8d71b9">kBitCount</a> - 1)</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l06706">6706</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
-
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>test/eclipse-cygwin/lib/gtest/<a class="el" href="gtest_8h_source.html">gtest.h</a></li>
- </ul>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classtesting_1_1internal_1_1_floating_point.html">FloatingPoint</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|