12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Return ValueThe result is an array whose size is equal to the rank of SOURCE and whose values represent theshape of SOURCE.SHIFT § 77Perform a logical shift.SynopsisRSHIFT(I, SHIFT)ArgumentsThe argument I may be of any type except character or complex. The argument SHIFT is of typeinteger.Return ValueThe return value is typeless. If SHIFT is positive, the result is I logically shifted left by SHIFTbits. If SHIFT is negative, the result is I logically shifted right by SHIFT bits.SIGN 77Return the absolute value of A times the sign of B.SynopsisSIGN(A, B)ArgumentsThe argument A is an integer or real number. The argument B must be of the same type as A.Return ValueThe result is the value of the absolute value of A times the sign of B and has the same type as A. IfB is zero, its sign is taken as positive. Fortran 95 allows for a distinction to be made betweenpositive and negative real zeroes. In this case, if B is a real zero, its sign is positive if it is apositive real zero or if the processor cannot distinguish between positive and negative real zeroes.240 Chapter 6

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

Saved successfully!

Ooh no, something went wrong!