This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23195] Using frexp with fabs produces negative result
- From: "m dot broadbent at signal dot qinetiq dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2005 10:56:59 -0000
- Subject: [Bug c++/23195] Using frexp with fabs produces negative result
- References: <20050802105206.23195.m.broadbent@signal.qinetiq.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From m dot broadbent at signal dot qinetiq dot com 2005-08-02 10:56 -------
Output from test program
mbroadbent@panther:~$ g++-4.0 -o test_frexp test_frexp.cpp -save-temps -lm
mbroadbent@panther:~$ ./test_frexp
q: -123.456 a: -0.9645 e: 7
q: -123.456 a: 0.9645 b: -0.9645 e: 7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23195