Skip to content

Commit f31d0a0

Browse files
committed
Change wording for numeric_limits support
1 parent 5d21c48 commit f31d0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/ROOT/pages/examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ template <typename T>
156156
bool float_equal(T lhs, T rhs)
157157
{
158158
using std::fabs;
159-
return fabs(lhs - rhs) < std::numeric_limits<T>::epsilon(); // numeric_limits is overloaded for all decimal types
159+
return fabs(lhs - rhs) < std::numeric_limits<T>::epsilon(); // numeric_limits is specialized for all decimal types
160160
}
161161

162162

0 commit comments

Comments
 (0)