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.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>CTIMESyntaxresult = CSMG (x, y, z)x, y, z(Input) INTEGER(4).Results:The result type is INTEGER(4). The result is equal to the following expression:(x & z) | (y & ~z )where "&" is a bitwise AND operation, | - bitwise OR, ~ - bitwise NOT.The function returns the value based on the following rule: when a bit in z is 1, the output bit istaken from x. When a bit in z is zero, the corresponding output bit is taken from y.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBPortability Function: Converts a system time into a 24-character ASCII string.Module: USE IFPORTSyntaxresult = CTIME (stime)stime(Input) INTEGER(4). An elapsed time in seconds since 00:00:00 Greenwich mean time, January1, 1970.Results:The result is a value in the form Mon Jan 31 04:37:23 1994. Hours are expressed using a 24-hourclock.The value of stime can be determined by calling the TIME function. CTIME(TIME( )) returns thecurrent time and date.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: the DATE_AND_TIME intrinsic procedure in the Language <strong>Reference</strong>ExampleUSE IFPORTcharacter (24) systime2-42

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

Saved successfully!

Ooh no, something went wrong!