This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17614] long double / -mfp-rounding-mode=d -mieee-with-inexact


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-22 18:06 -------
Well it should as you used -mfp-rounding-mode=d

Dynamic rounding mode. A field in the floating point control register (fpcr, see Alpha architecture 
reference manual) controls the rounding mode in effect. The C library initializes this register for 
rounding towards plus infinity. Thus, unless your program modifies the fpcr, d corresponds to round 
towards plus infinity.

Since you are rounding towards postive infinity you will never reach zero.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Summary|long double / -mfp-rounding-|long double / -mfp-rounding-
                   |mode=d-mieee-with-inexact   |mode=d -mieee-with-inexact


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]