O*e
5 楼
If you really need to handle general signals using native Fortran,
you will need a compiler that supports the PXFSIG* subroutines
defined in the POSIX Fortran binding standard IEEE 1003.9-1992.
It might be easier to use mixed Fortran/C++ compilation to do
what you want, if your compiler supports mixed language calling.
If you only want to deal with numerical exceptions, check whether
your compiler supports the Fortran 2003 ieee_exceptions intrinsic
module.
【在 n********6 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: Fortran 里有没有类似 C 的 TRY-CATCH ?
you will need a compiler that supports the PXFSIG* subroutines
defined in the POSIX Fortran binding standard IEEE 1003.9-1992.
It might be easier to use mixed Fortran/C++ compilation to do
what you want, if your compiler supports mixed language calling.
If you only want to deal with numerical exceptions, check whether
your compiler supports the Fortran 2003 ieee_exceptions intrinsic
module.
【在 n********6 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Fortran 里有没有类似 C 的 TRY-CATCH ?
相关阅读