[Bug middle-end/23195] [4.0/4.1 Regression] Using frexp with fabs produces negative result

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Aug 2 13:06:00 GMT 2005


------- Additional Comments From schwab at suse dot de  2005-08-02 13:06 -------
The C standard says: 
 
  [...], the frexp functions return the value x, such that x has a magnitude 
  in the interval [1/2, 1) or zero, and value equals x × 2^*exp. 
 
The magnitude is also known as the absolute value. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23195



More information about the Gcc-bugs mailing list