2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-16 01:42:11 +00:00
Files
test/include/boost/test
Andrzej Krzemienski 817ac936c9 Don't use std::numeric_limits when is_specialized is false
Prior to this change, in floating-point computations, in the case
where we work for types where std::numeric_limits are not specialized,
funcitons min() and max() from std::numeric_limits<FPT> are nonetheless
instantiated and return FPT(0). While the result is never used in run-time,
this may still trigger a compile-time failure.

After this change, the paths for the cases where std::numeric_limits are not
specialized are handled by separate specializations rather than run-time if
statements.
2015-05-26 23:03:11 +02:00
..
2015-05-26 13:55:48 +02:00
2015-01-29 02:31:35 -05:00
2015-01-29 02:31:35 -05:00
2015-01-29 02:31:35 -05:00