02.05.2014 Views

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Principales procédures intrinsèques208<br />

☞ DBLE : convertit en double précision l’argument<br />

transmis.<br />

☞ EXP : retourne l’exponentiel de l’argument transmis.<br />

EXP(1.0) = 2.7182818<br />

☞ FLOOR : retourne l’entier immédiatement inférieur<br />

au réel transmis en argument.<br />

FLOOR(3.7) = 3, FLOOR(-3.7) = -4<br />

☞ IACHAR : retourne le rang dans la table ASCII du<br />

caractère transmis en argument.<br />

IACHAR(’X’) = 88; IACHAR(’*’) = 42<br />

☞ IAND : retourne l’entier dont la représentation<br />

binaire est obtenue en combinant à l’aide d’un<br />

”et logique” les bits des deux entiers transmis en<br />

argument.<br />

IAND(1,3) = 1; IAND(10,10) = 10<br />

☞ IBCLR : permet de forcer à zéro un bit d’un entier :<br />

l’entier ainsi que la position du bit à forcer sont<br />

passés en argument.<br />

IBCLR(14,1) = 12<br />

IBCLR((/ 1,2,3,4 /), 31) = (/ 29,27,23,15 /)<br />

INSTITUT DU DÉVELOPPEMENT<br />

ET DES RESSOURCES<br />

EN INFORMATIQUE SCIENTIFIQUE<br />

Cours langage Fortran – 27 janvier 2006<br />

<strong>Patrick</strong> <strong>Corde</strong> et <strong>Anne</strong> <strong>Fouilloux</strong>

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

Saved successfully!

Ooh no, something went wrong!