Re: [Boost-bugs] [Boost C++ Libraries] #4812: Bug in boost::math::special_functions::sign showing up in special_functions::bessel_jy()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4812: Bug in boost::math::special_functions::sign showing up in special_functions::bessel_jy()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-05 14:05:59


#4812: Bug in boost::math::special_functions::sign showing up in
special_functions::bessel_jy()
----------------------------------------------+-----------------------------
  Reporter: peter zwart <PHZwart@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: math
   Version: Boost 1.45.0 | Severity: Showstopper
Resolution: | Keywords: sign sph_bessel special_function
----------------------------------------------+-----------------------------

Comment (by anonymous):

 #include <iostream>
   #include <cmath>
   int main(void){
    std::cout << "hello world " << std::endl;

    std::cout << (std::signbit)(-1.24911e-2468L)<<std::endl;;

    std::cout << (std::signbit)(-2.24911e-2468L)<<std::endl;;

    std::cout << (std::signbit)(-3.24911)<<std::endl;

    std::cout << (std::signbit)(3.24911)<<std::endl;

   }

 gives

 1
 1
 1
 0

 Not much time for debugging this right at the moment, i'll try tonight.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4812#comment:6>
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:04 UTC