Subject: [Boost-bugs] [Boost C++ Libraries] #7635: Karma real generators output "inf" when attribute is integral 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-03 04:28:23
#7635: Karma real generators output "inf" when attribute is integral 0
---------------------------------------------+------------------------------
Reporter: K-ballo <kaballo86@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.52.0 | Severity: Problem
Keywords: |
---------------------------------------------+------------------------------
Karma real generators output `"inf"` instead of the expected `"0.0"` when
the supplied attribute is an integral `0`. This is because the
implementation of `is_infinite` compares the attribute to
`std::numeric_limits<T>::infinity()` without checking
`std::numeric_limits<T>::has_infinity`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7635> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC