From 8ba476fbed2f2fbe39a995e7e9938ffb4f8fec69 Mon Sep 17 00:00:00 2001 From: insideoutclub Date: Sat, 4 Mar 2017 11:35:15 -0800 Subject: [PATCH] Update safe_numerics.xml --- doc/boostbook/safe_numerics.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/boostbook/safe_numerics.xml b/doc/boostbook/safe_numerics.xml index 573b154..32b7b9d 100644 --- a/doc/boostbook/safe_numerics.xml +++ b/doc/boostbook/safe_numerics.xml @@ -118,7 +118,7 @@ fundamental software components described here. It is not necessary to know about these components to use the library. This information has been included to help those who want to understand how the library works so - they can extend it, correct bugs in it, or understand it's limitations. + they can extend it, correct bugs in it, or understand its limitations. These components are also interesting in their own right. For all these reasons, they are documented here. In general terms, the library works in the following manner: @@ -126,9 +126,9 @@ All unary/binary expressions where one of the operands is a - "safe" type are Overloaded. These overloads are declared and defined + "safe" type are overloaded. These overloads are declared and defined in the header file "safe_integer.hpp". SFINAE - "Substitution Failure - Is Not An Error and std::enable_if are key features of + Is Not An Error" and std::enable_if are key features of C++ used to define these overloads in a correct manner. @@ -143,12 +143,12 @@ Given the ranges of the operands, determine the range of the result of the operation using interval arithmetic. This is - implemented in the "interval.hpp" header file using constexpr + implemented in the "interval.hpp" header file using the constexpr facility of C++14. - if the range of the result type includes the range of the + If the range of the result type includes the range of the result of the operation, no run time checking of the result is necessary. So the operation reduces to the original built-in C/C++ operation. @@ -165,7 +165,7 @@ - if a valid result has been obtained, it is passed to the + If a valid result has been obtained, it is passed to the caller.