12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of the Library Routines 2See Also: the intrinsic function DFLOAT in the Language <strong>Reference</strong>IEEE_FLAGSPortability Function: Gets, sets or clears IEEE* flags for rounding direction and precision aswell as queries or controls exception status. This function provides easy access to the modes andstatus required to use the features of IEEE Standard 754-1985 arithmetic in a <strong>Fortran</strong> program.Module: USE IFPORTSyntaxresult = IEEE_FLAGS (action, mode, in, out)action(Input) Character*(*). One of the following literal values: 'GET', 'SET', 'CLEAR', or'CLEARALL'.mode(Input) Character*(*). One of the following literal values: 'direction', 'precision', or 'exception'.The value 'precision' is only allowed on IA-32 systems.in(Input) Character*(*). One of the following literal values: 'inexact', 'division', 'underflow','overflow', 'invalid', 'all', 'common', 'nearest', 'tozero', 'negative', 'positive', 'extended', 'double','single', or ' ', which represents an unused (null) value.out(Output) Must be at least CHARACTER*9. One of the literal values listed for in.The descriptions for the values allowed for in and out can be summarized as follows:Value'nearest''tozero''negative''positive''single''double''extended''inexact''underflow''overflow''division''invalid'DescriptionRounding direction flagsRounding precision flagsMath exception flags2-165

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

Saved successfully!

Ooh no, something went wrong!