derf function

derf function

Error function is often included in the intrinsic function of many compilers. It is 'erf'(or derf in double precision). I got an error termination when I used it.

Undefined reference to `derf_`

Is the 'erf' or 'derf' included in the intrinsic function of efc version 7.0?

Thank you for advance.
Jun-ya

3 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

No - erf and derf are defined for C but not for Fortran in 7.0. You can call the C version if you like. Just add:

real(8) derf
!dec$ attributes c,alias:"derf" :: derf

to your declarations section.

Steve

Steve - Intel Developer Support

Oh, you said efc. Sorry - it's not implemented at all on Itanium yet. It should be there for a release late this year.

Steve

Steve - Intel Developer Support

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi