02.05.2014 Views

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

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.

Principales procédures intrinsèques207<br />

☞ BTEST : permet de tester la valeur d’un bit d’un<br />

entier : l’entier ainsi que la position du bit à tester<br />

sont passés en argument.<br />

BTEST(8,3) = .true.; BTEST(10,2) = .false.<br />

☞ CEILING : retourne l’entier immédiatement supérieur<br />

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

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

☞ CMPLX : retourne un complexe dont les parties réelle<br />

et imaginaire sont transmises en argument.<br />

CMPLX(-3.) = -3.0+0.i; CMPLX(2,4.) = 2.0+4.0i<br />

☞ CONJG : retourne le complexe conjugué de celui<br />

passé en argument.<br />

CONJG((-3.0,4.0)) = -3.0-4.0i<br />

☞ COS : retourne le cosinus de l’angle passé en<br />

argument (exprimé en radians).<br />

COS(1.0) = 0.54030231<br />

☞ COSH : retourne le cosinus hyperbolique.<br />

COSH(1.0) = 1.5430806<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!