[Boost-bugs] [Boost C++ Libraries] #8584: Warning:

Subject: [Boost-bugs] [Boost C++ Libraries] #8584: Warning:
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-18 12:11:03


#8584: Warning:
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 fpclassify.hpp

 is_nan_helper

 1>d:\projects\mengine\dependencies\boost\boost\math\special_functions\fpclassify.hpp(101):
 warning C4800: 'int' : forcing value to bool 'true' or 'false'
 (performance warning)
 1>
 d:\projects\mengine\dependencies\boost\boost\math\special_functions\fpclassify.hpp(578)
 : see reference to function template instantiation 'bool
 boost::math_detail::is_nan_helper<float>(T,const boost::true_type &)'
 being compiled
 1> with
 1> [
 1> T=float
 1> ]

 please remove this warning

 maybe -

 return (bool)isnan(t);

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8584>
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:13 UTC