⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intdoc.in

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 IN
📖 第 1 页 / 共 5 页
字号:
DEFDOC (DSIGN, "Apply sign to magnitude (archaic).", ARCHAIC_2 (SIGN, Sign))DEFDOC (ISIGN, "Apply sign to magnitude (archaic).", ARCHAIC_2 (SIGN, Sign))DEFDOC (REAL, "Convert value to type @code{REAL(KIND=1)}.", "\Converts @var{@1@} to @code{REAL(KIND=1)}.Use of @code{@0@()} with a @code{COMPLEX} argument(other than @code{COMPLEX(KIND=1)}) is restricted to the following case:@exampleREAL(REAL(@1@))@end example@noindentThis expression converts the real part of @1@ to@code{REAL(KIND=1)}.@xref{RealPart Intrinsic}, for information on a GNU Fortranintrinsic that extracts the real part of an arbitrary@code{COMPLEX} value.@xref{REAL() and AIMAG() of Complex}, for more information.")DEFDOC (DREAL, "Convert value to type @code{REAL(KIND=2)}.", "\Converts @var{@1@} to @code{REAL(KIND=2)}.If @var{@1@} is type @code{COMPLEX}, its real partis converted (if necessary) to @code{REAL(KIND=2)},and its imaginary part is disregarded.Although this intrinsic is not standard Fortran,it is a popular extension offered by many compilersthat support @code{DOUBLE COMPLEX}, since it offersthe easiest way to extract the real part of a @code{DOUBLE COMPLEX}value without using the Fortran 90 @code{REAL()} intrinsicin a way that produces a return value inconsistent withthe way many FORTRAN 77 compilers handle @code{REAL()} ofa @code{DOUBLE COMPLEX} value.@xref{RealPart Intrinsic}, for information on a GNU Fortranintrinsic that avoids these areas of confusion.@xref{Dble Intrinsic}, for information on the standard FORTRAN 77replacement for @code{DREAL()}.@xref{REAL() and AIMAG() of Complex}, for more information onthis issue.")DEFDOC (IMAGPART, "Extract imaginary part of complex.", "\The imaginary part of @var{@1@} is returned, without conversion.@emph{Note:} The way to do this in standard Fortran 90is @samp{AIMAG(@var{@1@})}.However, when, for example, @var{@1@} is @code{DOUBLE COMPLEX},@samp{AIMAG(@var{@1@})} means something different for some compilersthat are not true Fortran 90 compilers but offer someextensions standardized by Fortran 90 (such as the@code{DOUBLE COMPLEX} type, also known as @code{COMPLEX(KIND=2)}).The advantage of @code{@0@()} is that, while not necessarilymore or less portable than @code{AIMAG()}, it is more likely tocause a compiler that doesn't support it to produce a diagnosticthan generate incorrect code.@xref{REAL() and AIMAG() of Complex}, for more information.")DEFDOC (COMPLEX, "Build complex value from real and@99@imaginary parts.", "\Returns a @code{COMPLEX} value that has @samp{@1@} and @samp{@2@} as itsreal and imaginary parts, respectively.If @var{@1@} and @var{@2@} are the same type, and that type is not@code{INTEGER}, no data conversion is performed, and the type ofthe resulting value has the same kind value as the typesof @var{@1@} and @var{@2@}.If @var{@1@} and @var{@2@} are not the same type, the usual type-promotionrules are applied to both, converting either or both to theappropriate @code{REAL} type.The type of the resulting value has the same kind value as thetype to which both @var{@1@} and @var{@2@} were converted, in this case.If @var{@1@} and @var{@2@} are both @code{INTEGER}, they are both convertedto @code{REAL(KIND=1)}, and the result of the @code{@0@()}invocation is type @code{COMPLEX(KIND=1)}.@emph{Note:} The way to do this in standard Fortran 90is too hairy to describe here, but it is important tonote that @samp{CMPLX(D1,D2)} returns a @code{COMPLEX(KIND=1)}result even if @samp{D1} and @samp{D2} are type @code{REAL(KIND=2)}.Hence the availability of @code{COMPLEX()} in GNU Fortran.")DEFDOC (LOC, "Address of entity in core.", "\The @code{LOC()} intrinsic works thesame way as the @code{%LOC()} construct.@xref{%LOC(),,The @code{%LOC()} Construct}, formore information.")DEFDOC (REALPART, "Extract real part of complex.", "\The real part of @var{@1@} is returned, without conversion.@emph{Note:} The way to do this in standard Fortran 90is @samp{REAL(@var{@1@})}.However, when, for example, @var{@1@} is @code{COMPLEX(KIND=2)},@samp{REAL(@var{@1@})} means something different for some compilersthat are not true Fortran 90 compilers but offer someextensions standardized by Fortran 90 (such as the@code{DOUBLE COMPLEX} type, also known as @code{COMPLEX(KIND=2)}).The advantage of @code{@0@()} is that, while not necessarilymore or less portable than @code{REAL()}, it is more likely tocause a compiler that doesn't support it to produce a diagnosticthan generate incorrect code.@xref{REAL() and AIMAG() of Complex}, for more information.")DEFDOC (GETARG, "Obtain command-line argument.", "\Sets @var{@2@} to the @var{@1@}-th command-line argument (or to allblanks if there are fewer than @var{@2@} command-line arguments);@code{CALL @0@(0, @var{value})} sets @var{value} to the name of theprogram (on systems that support this feature).@xref{IArgC Intrinsic}, for information on how to get the numberof arguments.")DEFDOC (ABORT, "Abort the program.", "\Prints a message and potentially causes a core dump via @code{abort(3)}.")DEFDOC (EXIT, "Terminate the program.", "\Exit the program with status @var{@1@} after closing open FortranI/O units and otherwise behaving as @code{exit(2)}.If @var{@1@} is omitted the canonical `success' valuewill be returned to the system.")DEFDOC (IARGC, "Obtain count of command-line arguments.", "\Returns the number of command-line arguments.This count does not include the specification of the programname itself.")DEFDOC (CTIME_func, "Convert time to Day Mon dd hh:mm:ss yyyy.", "\Converts @var{@1@}, a system time value, such as returned by@code{TIME8()}, to a string of the form @samp{Sat Aug 19 18:13:14 1995},and returns that string as the function value.@xref{Time8 Intrinsic}.")DEFDOC (CTIME_subr, "Convert time to Day Mon dd hh:mm:ss yyyy.", "\Converts @var{@1@}, a system time value, such as returned by@code{TIME8()}, to a string of the form @samp{Sat Aug 19 18:13:14 1995},and returns that string in @var{@2@}.@xref{Time8 Intrinsic}.Some non-GNU implementations of Fortran provide this intrinsic asonly a function, not as a subroutine.")DEFDOC (DATE, "Get current date as dd-Mon-yy.", "\Returns @var{@1@} in the form @samp{@var{dd}-@var{mmm}-@var{yy}},representing the numeric day of the month @var{dd}, a three-characterabbreviation of the month name @var{mmm} and the last two digits ofthe year @var{yy}, e.g.@: @samp{25-Nov-96}.@cindex Y2K compliance@cindex Year 2000 complianceThis intrinsic is not recommended, due to the year 2000 approaching.Therefore, programs making use of this intrinsicmight not be Year 2000 (Y2K) compliant.@xref{CTime Intrinsic (subroutine)}, for information on obtaining more digitsfor the current (or any) date.")DEFDOC (DTIME_func, "Get elapsed time since last time.", "\Initially, return the number of seconds of runtimesince the start of the process's executionas the function value,and the user and system components of this in @samp{@var{@1@}(1)}and @samp{@var{@1@}(2)} respectively.The functions' value is equal to @samp{@var{@1@}(1) + @var{@1@}(2)}.Subsequent invocations of @samp{@0@()} return values accumulated since theprevious invocation.@cindex wraparound, timings@cindex limits, timingsOn some systems, the underlying timings are representedusing types with sufficiently small limits that overflows(wraparounds) are possible, such as 32-bit types.Therefore, the values returned by this intrinsicmight be, or become, negative,or numerically less than previous values,during a single run of the compiled program.Due to the side effects performed by this intrinsic, the functionform is not recommended.")DEFDOC (DTIME_subr, "Get elapsed time since last time.", "\Initially, return the number of seconds of runtimesince the start of the process's executionin @var{@2@},and the user and system components of this in @samp{@var{@1@}(1)}and @samp{@var{@1@}(2)} respectively.The value of @var{@2@} is equal to @samp{@var{@1@}(1) + @var{@1@}(2)}.Subsequent invocations of @samp{@0@()} set values based on accumulationssince the previous invocation.@cindex wraparound, timings@cindex limits, timingsOn some systems, the underlying timings are representedusing types with sufficiently small limits that overflows(wraparounds) are possible, such as 32-bit types.Therefore, the values returned by this intrinsicmight be, or become, negative,or numerically less than previous values,during a single run of the compiled program.Some non-GNU implementations of Fortran provide this intrinsic asonly a function, not as a subroutine.")DEFDOC (ETIME_func, "Get elapsed time for process.", "\Return the number of seconds of runtimesince the start of the process's executionas the function value,and the user and system components of this in @samp{@var{@1@}(1)}and @samp{@var{@1@}(2)} respectively.The functions' value is equal to @samp{@var{@1@}(1) + @var{@1@}(2)}.@cindex wraparound, timings@cindex limits, timingsOn some systems, the underlying timings are representedusing types with sufficiently small limits that overflows(wraparounds) are possible, such as 32-bit types.Therefore, the values returned by this intrinsicmight be, or become, negative,or numerically less than previous values,during a single run of the compiled program.")DEFDOC (ETIME_subr, "Get elapsed time for process.", "\Return the number of seconds of runtimesince the start of the process's executionin @var{@2@},and the user and system components of this in @samp{@var{@1@}(1)}and @samp{@var{@1@}(2)} respectively.The value of @var{@2@} is equal to @samp{@var{@1@}(1) + @var{@1@}(2)}.@cindex wraparound, timings@cindex limits, timingsOn some systems, the underlying timings are representedusing types with sufficiently small limits that overflows(wraparounds) are possible, such as 32-bit types.Therefore, the values returned by this intrinsicmight be, or become, negative,or numerically less than previous values,during a single run of the compiled program.Some non-GNU implementations of Fortran provide this intrinsic asonly a function, not as a subroutine.")DEFDOC (FDATE_func, "Get current time as Day Mon dd hh:mm:ss yyyy.", "\Returns the current date (using the same format as @code{CTIME()}).Equivalent to:@exampleCTIME(TIME8())@end example@cindex Y10K compliance@cindex Year 10000 compliance@cindex wraparound, Y10K@cindex limits, Y10KPrograms making use of this intrinsicmight not be Year 10000 (Y10K) compliant.For example, the date might appear,to such programs, to wrap around(change from a larger value to a smaller one)as of the Year 10000.@xref{CTime Intrinsic (function)}.")DEFDOC (FDATE_subr, "Get current time as Day Mon dd hh:mm:ss yyyy.", "\Returns the current date (using the same format as @code{CTIME()})in @var{@1@}.Equivalent to:@exampleCALL CTIME(@var{@1@}, TIME8())@end example@cindex Y10K compliance@cindex Year 10000 compliance@cindex wraparound, Y10K@cindex limits, Y10KPrograms making use of this intrinsicmight not be Year 10000 (Y10K) compliant.For example, the date might appear,to such programs, to wrap around(change from a larger value to a smaller one)as of the Year 10000.@xref{CTime Intrinsic (subroutine)}.Some non-GNU implementations of Fortran provide this intrinsic asonly a function, not as a subroutine.")DEFDOC (GMTIME, "Convert time to GMT time info.", "\Given a system time value @var{@1@}, fills @var{@2@} with valuesextracted from it appropriate to the GMT time zone using@code{gmtime(3)}.The array elements are as follows:@enumerate@itemSeconds after the minute, range 0--59 or 0--61 to allow for leapseconds@itemMinutes after the hour, range 0--59@itemHours past midnight, range 0--23@itemDay of month, range 0--31@itemNumber of months since January, range 0--12@itemYears since 1900@itemNumber of days since Sunday, range 0--6@itemDays since January 1@itemDaylight savings indicator: positive if daylight savings is in effect,zero if not, and negative if the information isn't available.@end enumerate")DEFDOC (LTIME, "Convert time to local time info.", "\Given a system time value @var{@1@}, fills @var{@2@} with valuesextracted from it appropriate to the GMT time zone using@code{localtime(3)}.The array elements are as follows:@enumerate@itemSeconds after the minute, range 0--59 or 0--61 to allow for leapseconds@itemMinutes after the hour, range 0--59@itemHours past midnight, range 0--23@itemDay of month, range 0--31@itemNumber of months since January, range 0--12@itemYears since 1900@itemNumber of days since Sunday, range 0--6@itemDays since January 1@itemDaylight savings indicator: positive if daylight savings is in effect,zero if not, and negative if the information isn't available.@end enumerate")DEFDOC (IDATE_unix, "Get local time info.", "\Fills @var{@1@} with the numerical values at the current local timeof day, month (in the range 1--12), and year in elements 1, 2, and 3,respectively.The year has four significant digits.@cindex Y10K compliance@cindex Year 10000 compliance@cindex wraparound, Y10K@cindex limits, Y10KPrograms making use of this intrinsicmight not be Year 10000 (Y10K) compliant.For example, the date might appear,to such programs, to wrap around(change from a larger value to a smaller one)as of the Year 10000.")DEFDOC (IDATE_vxt, "Get local time info (VAX/VMS).", "\Returns the numerical values of the current local time.The month (in the range 1--12) is returned in @var{@1@},the day (in the range 1--7) in @var{@2@},and the year in @var{@3@} (in the range 0--99).@cindex Y2K compliance@cindex Year 2000 compliance@cindex wraparound, Y2K@cindex limits, Y2KThis intrinsic is not recommended, due to the year 2000 approaching.Therefore, programs making use of this intrinsicmight not be Year 2000 (Y2K) compliant.For example, the date might appear,to such programs, to wrap around(change from a larger value to a smaller one)as of the Year 2000.@xref{IDate Intrinsic (UNIX)}, for information on obtaining more digitsfor the current date.")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -