尝试将实数转换为字符串时,我在 fortran 中遇到以下错误。
iio: [-1] end of file
lately: writing sequential formatted internal IO
part of last string: 100000. |
Abort (core dumped)
以下是我收到错误的代码。99999.5 中引发上述错误的值
CHARACTER STRING*12
WRITE (STRING, '(G12.5)') VALUE
为什么会抛出这个错误?