public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28276]  New: EXPONENT() broken for real constants
@ 2006-07-05 20:00 anlauf at gmx dot de
  2006-07-05 20:01 ` [Bug fortran/28276] " anlauf at gmx dot de
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: anlauf at gmx dot de @ 2006-07-05 20:00 UTC (permalink / raw)
  To: gcc-bugs

Hi *,

there is a nasty bug with EXPONENT():
EXPONENT(1.0) evaluates to 0 (which is wrong), while
real :: a=1.0; EXPONENT(a) evaluates to 1 (which is correct).

For more details and a further example see the attached
code sample.

Cheers,
-ha


-- 
           Summary: EXPONENT() broken for real constants
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-09-27 20:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 20:00 [Bug fortran/28276] New: EXPONENT() broken for real constants anlauf at gmx dot de
2006-07-05 20:01 ` [Bug fortran/28276] " anlauf at gmx dot de
2006-07-05 21:53 ` kargl at gcc dot gnu dot org
2006-07-06  8:49 ` steven at gcc dot gnu dot org
2006-07-17 17:54 ` tobias dot burnus at physik dot fu-berlin dot de
2006-07-17 18:11 ` sgk at troutmask dot apl dot washington dot edu
2006-09-10 22:43 ` tobias dot burnus at physik dot fu-berlin dot de
2006-09-11 19:19 ` sgk at troutmask dot apl dot washington dot edu
2006-09-11 19:33 ` sgk at troutmask dot apl dot washington dot edu
2006-09-11 20:31 ` sgk at troutmask dot apl dot washington dot edu
2006-09-27 20:15 ` kargl at gcc dot gnu dot org
2006-09-27 20:38 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).