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 fortran/17117] New: Unimplemented intrinsic HUGE / Unimplemented intrinsic TINY


Both intrinsics HUGE and TINY are currently not implemented (not in g77 either).
And they are not marked gfc_todo; shouldn't they appear there?

TINY returns the smallest positive value for a real argument
HUGE returns the largest number in the integer or real numeric model

***** Excerpt from cray manpage ************

NAME
     TINY - Returns the smallest positive value for a real argument
model

SYNOPSIS
     TINY ([X=]x)

STANDARDS
     Fortran

DESCRIPTION
     The TINY intrinsic function returns the smallest positive number in
     the real number model that represents number of the same type and kind
     type parameter as the argument.  For more information on the real
     number model, see the MODELS(3I) man page.  It accepts the following
     argument:

     x         Must be of type real.  It may be scalar or array valued.

     TINY is an inquiry function.  The name of this intrinsic cannot be
     passed as an argument.

RETURN VALUES
     The result is a scalar with the same type and kind type parameter as
     x.  The result has the value
      e sub min-1
     b           , where b and e
                                 min
     (represented as "e sub min" in the previous equation) are as defined
     in the real number model, which represents numbers of the same type
     and kind type parameter as x.

-- 
           Summary: Unimplemented intrinsic HUGE / Unimplemented intrinsic
                    TINY
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: c dot lemmen at fz-juelich dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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