12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2Module: USE IFPORTSyntaxresult = RAISEQQ (sig)sig(Input) INTEGER(4). Signal to raise. One of the following constants (defined in IFPORT.F90):• SIG$ABORT – Abnormal termination• SIG$FPE – Floating-point error• SIG$ILL – Illegal instruction• SIG$INT – CTRL+C signal• SIG$SEGV – Illegal storage access• SIG$TERM -– Termination requestIf you do not install a signal handler (with SIGNALQQ, for example), when a signal occurs thesystem by default terminates the program with exit code 3.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, nonzero.If a signal-handling routine for sig has been installed by a prior call to SIGNALQQ, RAISEQQcauses that routine to be executed. If no handler routine has been installed, the system terminatesthe program (the default action).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SIGNALQQ”, “SIGNAL”, “KILL”ExampleSee the example in “SIGNALQQ”.RAND, RANDOMPortability Functions: Return real random numbers in the range 0.0 through 1.0.Module: USE IFPORTSyntaxresult = RAND ([iflag])result = RANDOM (iflag)iflag(Input) INTEGER(4). Optional for RAND. Controls the way the random number is selected.2-365

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!