26.06.2015 Views

HOW TO CALL THE IMSL FORTRAN LIBRARIES FROM C by ...

HOW TO CALL THE IMSL FORTRAN LIBRARIES FROM C by ...

HOW TO CALL THE IMSL FORTRAN LIBRARIES FROM C by ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Exact answer = 8.38906<br />

<strong>IMSL</strong> dqdng = 8.38906<br />

Error = 1.77636e-015<br />

5.3 Compilation and Linking<br />

• Compaq Visual Fortran 6.5<br />

This is the DOS command used to compile and link a program with the single precision math<br />

library which is bundled with Compaq Visual Fortran 6.5:<br />

cl main.c %link_f90% dfor.lib dfconsol.lib<br />

Libraries dfor.lib and dfconsol.lib are supplied with Compaq Visual Fortran.<br />

26

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

Saved successfully!

Ooh no, something went wrong!