Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

312 lines
24 KiB

  1. \hypertarget{classtesting_1_1internal_1_1_floating_point}{}\section{testing\+:\+:internal\+:\+:Floating\+Point$<$ Raw\+Type $>$ Class Template Reference}
  2. \label{classtesting_1_1internal_1_1_floating_point}\index{testing\+::internal\+::\+Floating\+Point$<$ Raw\+Type $>$@{testing\+::internal\+::\+Floating\+Point$<$ Raw\+Type $>$}}
  3. {\ttfamily \#include $<$gtest.\+h$>$}
  4. \subsection*{Public Types}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. typedef \mbox{\hyperlink{classtesting_1_1internal_1_1_type_with_size}{Type\+With\+Size}}$<$ sizeof(Raw\+Type)$>$\+::U\+Int \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}
  8. \end{DoxyCompactItemize}
  9. \subsection*{Public Member Functions}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0dabf840863e0df84046f171c891fe71}{Floating\+Point}} (const Raw\+Type \&x)
  13. \item
  14. const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \& \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aab053be914bdc9e507c0db89740c318c}{bits}} () const
  15. \item
  16. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_af6bf8fab8df572ecb137a3516ff390ae}{exponent\+\_\+bits}} () const
  17. \item
  18. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aa17337e50a2ac855719bc0676529558f}{fraction\+\_\+bits}} () const
  19. \item
  20. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_afb8a816bb598225d775caaf43a893ef0}{sign\+\_\+bit}} () const
  21. \item
  22. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a1fc654fd206efa98e480aa1e034f30d5}{is\+\_\+nan}} () const
  23. \item
  24. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a965214c1af2f9ac5adb1393794aa81e5}{Almost\+Equals}} (const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{Floating\+Point}} \&rhs) const
  25. \item
  26. {\footnotesize template$<$$>$ }\\float \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_af2eda9331e679229a1baa3404b57b51d}{Max}} ()
  27. \item
  28. {\footnotesize template$<$$>$ }\\double \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_afc2e85c0e886cb13b2300e961c9a9648}{Max}} ()
  29. \end{DoxyCompactItemize}
  30. \subsection*{Static Public Member Functions}
  31. \begin{DoxyCompactItemize}
  32. \item
  33. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ac551f793522e54fbd8a25acb79eac5b1}{Reinterpret\+Bits}} (const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aab053be914bdc9e507c0db89740c318c}{bits}})
  34. \item
  35. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a460027cc19cf01ae8e09cc3796b2b575}{Infinity}} ()
  36. \item
  37. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aae5954d8a57d3ff0987c6930cb68e114}{Max}} ()
  38. \end{DoxyCompactItemize}
  39. \subsection*{Static Public Attributes}
  40. \begin{DoxyCompactItemize}
  41. \item
  42. static const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}{k\+Bit\+Count}} = 8$\ast$sizeof(Raw\+Type)
  43. \item
  44. static const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0b756a6d2a4f5f5b41ca79651c06c043}{k\+Fraction\+Bit\+Count}}
  45. \item
  46. static const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a1973d843c00781053d3073daa8a40119}{k\+Exponent\+Bit\+Count}} = \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}{k\+Bit\+Count}} -\/ 1 -\/ \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0b756a6d2a4f5f5b41ca79651c06c043}{k\+Fraction\+Bit\+Count}}
  47. \item
  48. static const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aca98b5ea6f2222a66a82e52421682efa}{k\+Sign\+Bit\+Mask}} = static\+\_\+cast$<$\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}$>$(1) $<$$<$ (\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}{k\+Bit\+Count}} -\/ 1)
  49. \item
  50. static const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0ac75d4ffd24f14bca452abe8a718da1}{k\+Fraction\+Bit\+Mask}}
  51. \item
  52. static const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a66065dfc4d5f41100f686159637af23b}{k\+Exponent\+Bit\+Mask}} = $\sim$(\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aca98b5ea6f2222a66a82e52421682efa}{k\+Sign\+Bit\+Mask}} $\vert$ \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0ac75d4ffd24f14bca452abe8a718da1}{k\+Fraction\+Bit\+Mask}})
  53. \item
  54. static const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aac498b3714d93f8e88cdc30e4c5935f6}{k\+Max\+Ulps}} = 4
  55. \end{DoxyCompactItemize}
  56. \subsection{Detailed Description}
  57. \subsubsection*{template$<$typename Raw\+Type$>$\newline
  58. class testing\+::internal\+::\+Floating\+Point$<$ Raw\+Type $>$}
  59. Definition at line 6687 of file gtest.\+h.
  60. \subsection{Member Typedef Documentation}
  61. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}\label{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}}
  62. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Bits@{Bits}}
  63. \index{Bits@{Bits}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  64. \subsubsection{\texorpdfstring{Bits}{Bits}}
  65. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  66. typedef \mbox{\hyperlink{classtesting_1_1internal_1_1_type_with_size}{Type\+With\+Size}}$<$sizeof(Raw\+Type)$>$\+::U\+Int \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}}
  67. Definition at line 6691 of file gtest.\+h.
  68. \subsection{Constructor \& Destructor Documentation}
  69. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a0dabf840863e0df84046f171c891fe71}\label{classtesting_1_1internal_1_1_floating_point_a0dabf840863e0df84046f171c891fe71}}
  70. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Floating\+Point@{Floating\+Point}}
  71. \index{Floating\+Point@{Floating\+Point}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  72. \subsubsection{\texorpdfstring{Floating\+Point()}{FloatingPoint()}}
  73. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  74. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{Floating\+Point}} (\begin{DoxyParamCaption}\item[{const Raw\+Type \&}]{x }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}
  75. Definition at line 6735 of file gtest.\+h.
  76. \subsection{Member Function Documentation}
  77. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a965214c1af2f9ac5adb1393794aa81e5}\label{classtesting_1_1internal_1_1_floating_point_a965214c1af2f9ac5adb1393794aa81e5}}
  78. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Almost\+Equals@{Almost\+Equals}}
  79. \index{Almost\+Equals@{Almost\+Equals}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  80. \subsubsection{\texorpdfstring{Almost\+Equals()}{AlmostEquals()}}
  81. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  82. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::Almost\+Equals (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{Floating\+Point}}$<$ Raw\+Type $>$ \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  83. Definition at line 6783 of file gtest.\+h.
  84. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_aab053be914bdc9e507c0db89740c318c}\label{classtesting_1_1internal_1_1_floating_point_aab053be914bdc9e507c0db89740c318c}}
  85. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!bits@{bits}}
  86. \index{bits@{bits}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  87. \subsubsection{\texorpdfstring{bits()}{bits()}}
  88. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  89. const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}\& \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::bits (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  90. Definition at line 6759 of file gtest.\+h.
  91. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_af6bf8fab8df572ecb137a3516ff390ae}\label{classtesting_1_1internal_1_1_floating_point_af6bf8fab8df572ecb137a3516ff390ae}}
  92. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!exponent\+\_\+bits@{exponent\+\_\+bits}}
  93. \index{exponent\+\_\+bits@{exponent\+\_\+bits}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  94. \subsubsection{\texorpdfstring{exponent\+\_\+bits()}{exponent\_bits()}}
  95. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  96. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::exponent\+\_\+bits (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  97. Definition at line 6762 of file gtest.\+h.
  98. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_aa17337e50a2ac855719bc0676529558f}\label{classtesting_1_1internal_1_1_floating_point_aa17337e50a2ac855719bc0676529558f}}
  99. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!fraction\+\_\+bits@{fraction\+\_\+bits}}
  100. \index{fraction\+\_\+bits@{fraction\+\_\+bits}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  101. \subsubsection{\texorpdfstring{fraction\+\_\+bits()}{fraction\_bits()}}
  102. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  103. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::fraction\+\_\+bits (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  104. Definition at line 6765 of file gtest.\+h.
  105. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a460027cc19cf01ae8e09cc3796b2b575}\label{classtesting_1_1internal_1_1_floating_point_a460027cc19cf01ae8e09cc3796b2b575}}
  106. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Infinity@{Infinity}}
  107. \index{Infinity@{Infinity}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  108. \subsubsection{\texorpdfstring{Infinity()}{Infinity()}}
  109. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  110. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::Infinity (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}
  111. Definition at line 6749 of file gtest.\+h.
  112. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a1fc654fd206efa98e480aa1e034f30d5}\label{classtesting_1_1internal_1_1_floating_point_a1fc654fd206efa98e480aa1e034f30d5}}
  113. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!is\+\_\+nan@{is\+\_\+nan}}
  114. \index{is\+\_\+nan@{is\+\_\+nan}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  115. \subsubsection{\texorpdfstring{is\+\_\+nan()}{is\_nan()}}
  116. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  117. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::is\+\_\+nan (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  118. Definition at line 6771 of file gtest.\+h.
  119. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_aae5954d8a57d3ff0987c6930cb68e114}\label{classtesting_1_1internal_1_1_floating_point_aae5954d8a57d3ff0987c6930cb68e114}}
  120. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Max@{Max}}
  121. \index{Max@{Max}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  122. \subsubsection{\texorpdfstring{Max()}{Max()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
  123. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  124. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::Max (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}
  125. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_af2eda9331e679229a1baa3404b57b51d}\label{classtesting_1_1internal_1_1_floating_point_af2eda9331e679229a1baa3404b57b51d}}
  126. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Max@{Max}}
  127. \index{Max@{Max}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  128. \subsubsection{\texorpdfstring{Max()}{Max()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
  129. {\footnotesize\ttfamily template$<$$>$ \\
  130. float \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ float $>$\+::Max (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  131. Definition at line 6839 of file gtest.\+h.
  132. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_afc2e85c0e886cb13b2300e961c9a9648}\label{classtesting_1_1internal_1_1_floating_point_afc2e85c0e886cb13b2300e961c9a9648}}
  133. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Max@{Max}}
  134. \index{Max@{Max}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  135. \subsubsection{\texorpdfstring{Max()}{Max()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
  136. {\footnotesize\ttfamily template$<$$>$ \\
  137. double \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ double $>$\+::Max (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  138. Definition at line 6841 of file gtest.\+h.
  139. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_ac551f793522e54fbd8a25acb79eac5b1}\label{classtesting_1_1internal_1_1_floating_point_ac551f793522e54fbd8a25acb79eac5b1}}
  140. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!Reinterpret\+Bits@{Reinterpret\+Bits}}
  141. \index{Reinterpret\+Bits@{Reinterpret\+Bits}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  142. \subsubsection{\texorpdfstring{Reinterpret\+Bits()}{ReinterpretBits()}}
  143. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  144. static Raw\+Type \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::Reinterpret\+Bits (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}}]{bits }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}
  145. Definition at line 6742 of file gtest.\+h.
  146. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_afb8a816bb598225d775caaf43a893ef0}\label{classtesting_1_1internal_1_1_floating_point_afb8a816bb598225d775caaf43a893ef0}}
  147. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!sign\+\_\+bit@{sign\+\_\+bit}}
  148. \index{sign\+\_\+bit@{sign\+\_\+bit}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  149. \subsubsection{\texorpdfstring{sign\+\_\+bit()}{sign\_bit()}}
  150. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  151. \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::sign\+\_\+bit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  152. Definition at line 6768 of file gtest.\+h.
  153. \subsection{Member Data Documentation}
  154. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}\label{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}}
  155. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Bit\+Count@{k\+Bit\+Count}}
  156. \index{k\+Bit\+Count@{k\+Bit\+Count}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  157. \subsubsection{\texorpdfstring{k\+Bit\+Count}{kBitCount}}
  158. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  159. const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Bit\+Count = 8$\ast$sizeof(Raw\+Type)\hspace{0.3cm}{\ttfamily [static]}}
  160. Definition at line 6696 of file gtest.\+h.
  161. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a1973d843c00781053d3073daa8a40119}\label{classtesting_1_1internal_1_1_floating_point_a1973d843c00781053d3073daa8a40119}}
  162. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Exponent\+Bit\+Count@{k\+Exponent\+Bit\+Count}}
  163. \index{k\+Exponent\+Bit\+Count@{k\+Exponent\+Bit\+Count}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  164. \subsubsection{\texorpdfstring{k\+Exponent\+Bit\+Count}{kExponentBitCount}}
  165. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  166. const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Exponent\+Bit\+Count = \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}{k\+Bit\+Count}} -\/ 1 -\/ \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0b756a6d2a4f5f5b41ca79651c06c043}{k\+Fraction\+Bit\+Count}}\hspace{0.3cm}{\ttfamily [static]}}
  167. Definition at line 6703 of file gtest.\+h.
  168. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a66065dfc4d5f41100f686159637af23b}\label{classtesting_1_1internal_1_1_floating_point_a66065dfc4d5f41100f686159637af23b}}
  169. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Exponent\+Bit\+Mask@{k\+Exponent\+Bit\+Mask}}
  170. \index{k\+Exponent\+Bit\+Mask@{k\+Exponent\+Bit\+Mask}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  171. \subsubsection{\texorpdfstring{k\+Exponent\+Bit\+Mask}{kExponentBitMask}}
  172. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  173. const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Exponent\+Bit\+Mask = $\sim$(\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_aca98b5ea6f2222a66a82e52421682efa}{k\+Sign\+Bit\+Mask}} $\vert$ \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a0ac75d4ffd24f14bca452abe8a718da1}{k\+Fraction\+Bit\+Mask}})\hspace{0.3cm}{\ttfamily [static]}}
  174. Definition at line 6713 of file gtest.\+h.
  175. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a0b756a6d2a4f5f5b41ca79651c06c043}\label{classtesting_1_1internal_1_1_floating_point_a0b756a6d2a4f5f5b41ca79651c06c043}}
  176. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Fraction\+Bit\+Count@{k\+Fraction\+Bit\+Count}}
  177. \index{k\+Fraction\+Bit\+Count@{k\+Fraction\+Bit\+Count}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  178. \subsubsection{\texorpdfstring{k\+Fraction\+Bit\+Count}{kFractionBitCount}}
  179. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  180. const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Fraction\+Bit\+Count\hspace{0.3cm}{\ttfamily [static]}}
  181. {\bfseries Initial value\+:}
  182. \begin{DoxyCode}
  183. =
  184. std::numeric\_limits<RawType>::digits - 1
  185. \end{DoxyCode}
  186. Definition at line 6699 of file gtest.\+h.
  187. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_a0ac75d4ffd24f14bca452abe8a718da1}\label{classtesting_1_1internal_1_1_floating_point_a0ac75d4ffd24f14bca452abe8a718da1}}
  188. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Fraction\+Bit\+Mask@{k\+Fraction\+Bit\+Mask}}
  189. \index{k\+Fraction\+Bit\+Mask@{k\+Fraction\+Bit\+Mask}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  190. \subsubsection{\texorpdfstring{k\+Fraction\+Bit\+Mask}{kFractionBitMask}}
  191. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  192. const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Fraction\+Bit\+Mask\hspace{0.3cm}{\ttfamily [static]}}
  193. {\bfseries Initial value\+:}
  194. \begin{DoxyCode}
  195. =
  196. ~static\_cast<\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}>(0) >> (\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_a1973d843c00781053d3073daa8a40119}{kExponentBitCount}} + 1)
  197. \end{DoxyCode}
  198. Definition at line 6709 of file gtest.\+h.
  199. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_aac498b3714d93f8e88cdc30e4c5935f6}\label{classtesting_1_1internal_1_1_floating_point_aac498b3714d93f8e88cdc30e4c5935f6}}
  200. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Max\+Ulps@{k\+Max\+Ulps}}
  201. \index{k\+Max\+Ulps@{k\+Max\+Ulps}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  202. \subsubsection{\texorpdfstring{k\+Max\+Ulps}{kMaxUlps}}
  203. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  204. const size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Max\+Ulps = 4\hspace{0.3cm}{\ttfamily [static]}}
  205. Definition at line 6727 of file gtest.\+h.
  206. \mbox{\Hypertarget{classtesting_1_1internal_1_1_floating_point_aca98b5ea6f2222a66a82e52421682efa}\label{classtesting_1_1internal_1_1_floating_point_aca98b5ea6f2222a66a82e52421682efa}}
  207. \index{testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}!k\+Sign\+Bit\+Mask@{k\+Sign\+Bit\+Mask}}
  208. \index{k\+Sign\+Bit\+Mask@{k\+Sign\+Bit\+Mask}!testing\+::internal\+::\+Floating\+Point@{testing\+::internal\+::\+Floating\+Point}}
  209. \subsubsection{\texorpdfstring{k\+Sign\+Bit\+Mask}{kSignBitMask}}
  210. {\footnotesize\ttfamily template$<$typename Raw\+Type$>$ \\
  211. const \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}} \mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point}{testing\+::internal\+::\+Floating\+Point}}$<$ Raw\+Type $>$\+::k\+Sign\+Bit\+Mask = static\+\_\+cast$<$\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_abf228bf6cd48f12c8b44c85b4971a731}{Bits}}$>$(1) $<$$<$ (\mbox{\hyperlink{classtesting_1_1internal_1_1_floating_point_ab819d2e8f93e9e482373999f0f8d71b9}{k\+Bit\+Count}} -\/ 1)\hspace{0.3cm}{\ttfamily [static]}}
  212. Definition at line 6706 of file gtest.\+h.
  213. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  214. \item
  215. test/eclipse-\/cygwin/lib/gtest/\mbox{\hyperlink{gtest_8h}{gtest.\+h}}\end{DoxyCompactItemize}