diff --git a/doc/concepts/concepts.qbk b/doc/concepts/concepts.qbk index ade89ef85e..afc95afb40 100644 --- a/doc/concepts/concepts.qbk +++ b/doc/concepts/concepts.qbk @@ -285,9 +285,9 @@ of type `const RealType`, and /ca/ is an object of type `const arithmetic-type` [table [[Expression][Result Type][Notes]] [[`RealType(cr)`][RealType] - [RealType is copy constructable.]] + [RealType is copy constructible.]] [[`RealType(ca)`][RealType] - [RealType is copy constructable from the arithmetic types.]] + [RealType is copy constructible from the arithmetic types.]] [[`r = cr`][RealType&][Assignment operator.]] [[`r = ca`][RealType&][Assignment operator from the arithmetic types.]] [[`r += cr`][RealType&][Adds cr to r.]] @@ -468,7 +468,7 @@ object of a type convertible to `RealType`. [[DistributionType::policy_type][RealType] [The __Policy to use when evaluating functions that depend on this distribution.]] [[d = cd][Distribution&][Distribution types are assignable.]] -[[Distribution(cd)][Distribution][Distribution types are copy constructable.]] +[[Distribution(cd)][Distribution][Distribution types are copy constructible.]] [[pdf(cd, cr)][RealType][Returns the PDF of the distribution.]] [[cdf(cd, cr)][RealType][Returns the CDF of the distribution.]] [[cdf(complement(cd, cr))][RealType] diff --git a/doc/constants/constants.qbk b/doc/constants/constants.qbk index fc04fde8c0..24092adf56 100644 --- a/doc/constants/constants.qbk +++ b/doc/constants/constants.qbk @@ -163,17 +163,17 @@ However, since the precision of the user-defined type may be much greater than t of the built-in floating point types, how the value returned is created is as follows: * If the precision of the type is known at compile time: - * If the precision is less than or equal to that of a `float` and the type is constructable from a `float` + * If the precision is less than or equal to that of a `float` and the type is constructible from a `float` then our code returns a `float` literal. If the user-defined type is a literal type then the function call that returns the constant will be a `constexp`. - * If the precision is less than or equal to that of a `double` and the type is constructable from a `double` + * If the precision is less than or equal to that of a `double` and the type is constructible from a `double` then our code returns a `double` literal. If the user-defined type is a literal type then the function call that returns the constant will be a `constexp`. - * If the precision is less than or equal to that of a `long double` and the type is constructable from a `long double` + * If the precision is less than or equal to that of a `long double` and the type is constructible from a `long double` then our code returns a `long double` literal. If the user-defined type is a literal type then the function call that returns the constant will be a `constexp`. * If the precision is less than or equal to that of a `__float128` (and the compiler supports such a type) - and the type is constructable from a `__float128` + and the type is constructible from a `__float128` then our code returns a `__float128` literal. If the user-defined type is a literal type then the function call that returns the constant will be a `constexp`. * If the precision is less than 100 decimal digits, then the constant will be constructed @@ -610,7 +610,7 @@ accurate to at least 100 decimal digits (in practice that means at least 102 dig Again for consistency use scientific format with a signed exponent. For types with precision greater than a long double, -then if T is constructable `T `is constructable from a `const char*` +then if T is constructible `T `is constructible from a `const char*` then it's directly constructed from the string, otherwise we fall back on lexical_cast to convert to type `T`. (Using a string is necessary because you can't use a numeric constant diff --git a/doc/html/math_toolkit/constants_faq.html b/doc/html/math_toolkit/constants_faq.html index d018b4d276..6edaed5aab 100644 --- a/doc/html/math_toolkit/constants_faq.html +++ b/doc/html/math_toolkit/constants_faq.html @@ -226,8 +226,8 @@
- For types with precision greater than a long double, then if T is constructable
- T
is constructable from a
+ For types with precision greater than a long double, then if T is constructible
+ T
is constructible from a
const char*
then it's directly constructed from the string,
otherwise we fall back on lexical_cast to convert to type T
.
(Using a string is necessary because you can't use a numeric constant since
diff --git a/doc/html/math_toolkit/dist_concept.html b/doc/html/math_toolkit/dist_concept.html
index 9383c7e285..27d04c221d 100644
--- a/doc/html/math_toolkit/dist_concept.html
+++ b/doc/html/math_toolkit/dist_concept.html
@@ -131,7 +131,7 @@
- Distribution types are copy constructable. + Distribution types are copy constructible.
- RealType is copy constructable. + RealType is copy constructible.
- RealType is copy constructable from the arithmetic types. + RealType is copy constructible from the arithmetic types.
float
and the type is constructable
+ If the precision is less than or equal to that of a float
and the type is constructible
from a float
then
our code returns a float
literal. If the user-defined type is a literal type then the function
call that returns the constant will be a constexp
.
double
and the type is constructable
+ If the precision is less than or equal to that of a double
and the type is constructible
from a double
then
our code returns a double
literal. If the user-defined type is a literal type then the function
@@ -72,7 +72,7 @@
long double
- and the type is constructable from a long
+ and the type is constructible from a long
double
then our code returns
a long double
literal. If the user-defined type is a literal type then the function
@@ -80,7 +80,7 @@
__float128
(and the compiler
- supports such a type) and the type is constructable from a __float128
then our code returns
+ supports such a type) and the type is constructible from a __float128
then our code returns
a __float128
literal.
If the user-defined type is a literal type then the function call
that returns the constant will be a constexp
.
diff --git a/doc/overview/result_type_calc.qbk b/doc/overview/result_type_calc.qbk
index b1d3dcd76a..9a98027df9 100644
--- a/doc/overview/result_type_calc.qbk
+++ b/doc/overview/result_type_calc.qbk
@@ -26,7 +26,7 @@ further analysis.
then it is treated as if it were of type `double` for the purposes of
further analysis.
# If any of the arguments is a user-defined class type, then the result type
-is the first such class type that is constructable from all of the other
+is the first such class type that is constructible from all of the other
argument types.
# If any of the arguments is of type `long double`, then the result is of type
`long double`.
diff --git a/include/boost/math/concepts/distributions.hpp b/include/boost/math/concepts/distributions.hpp
index d6561606af..538bbe702b 100644
--- a/include/boost/math/concepts/distributions.hpp
+++ b/include/boost/math/concepts/distributions.hpp
@@ -42,7 +42,7 @@ class distribution_archetype
public:
typedef RealType value_type;
- distribution_archetype(const distribution_archetype&); // Copy constructable.
+ distribution_archetype(const distribution_archetype&); // Copy constructible.
distribution_archetype& operator=(const distribution_archetype&); // Assignable.
// There is no default constructor,
diff --git a/include/boost/math/differentiation/autodiff.hpp b/include/boost/math/differentiation/autodiff.hpp
index e2376eed24..1286326c2e 100644
--- a/include/boost/math/differentiation/autodiff.hpp
+++ b/include/boost/math/differentiation/autodiff.hpp
@@ -136,14 +136,14 @@ class fvar {
// Initialize a variable or constant.
fvar(root_type const&, bool const is_variable);
- // RealType(cr) | RealType | RealType is copy constructable.
+ // RealType(cr) | RealType | RealType is copy constructible.
fvar(fvar const&) = default;
// Be aware of implicit casting from one fvar<> type to another by this copy constructor.
template