Replace non-constexpr decrement in std::chrono::floor
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Oct 2016 14:42:09 +0000 (15:42 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Oct 2016 14:42:09 +0000 (15:42 +0100)
commit0c0d2a4cf0fbad6cb92dcf666b24fde8fac8b104
treee1a197ea433d14b95632dbcdf821e6c1c8e8bb6f
parent4d0cdd0ce64e8821ad218054ccd317f195eb3cc8
Replace non-constexpr decrement in std::chrono::floor

* include/std/chrono (floor): Replace non-constexpr operation.
* testsuite/20_util/duration_cast/rounding.cc: Test conversion to
durations with floating pointer representations.

From-SVN: r241122
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono
libstdc++-v3/testsuite/20_util/duration_cast/rounding.cc