无法在 kind 函数定义的边界内显示数字?

时间:2021-02-05 23:26:32

标签: fortran

所以我想要做的是显示我的变量,但是每次我在 fortran 中编译我的程序时我都会收到这个错误;

{"ok":true,"result":[{"update_id":677451492,
"callback_query":{"id":"279653697655933338","from":{"id":65111950,"is_bot":false,"first_name":"Fredy Kardian","last_name":"Udo","username":"fredykardian","language_code":"en"},"message":{"message_id":316,"from":{"id":1657959350,"is_bot":true,"first_name":"fred Admin Bot","username":"fredAdminBot"},"chat":{"id":[chat id],"first_name":"Fredy Kardian","last_name":"Udo","username":"fredykardian","type":"private"},"date":1612566258,"game":{"title":"Lucky Spin","description":"Lucky Spin","photo":[{"file_id":"AgACAgUAAxUAAWAdzvLbYgEGIlW5Ox2vkzdrY_vfAAIgqzEbeTbJVM_WmQrJtBEAAaCD7G50AAMBAAMCAANtAAMI3QEAAR4E","file_unique_id":"AQADoIPsbnQAAwjdAQAB","file_size":10256,"width":320,"height":180},{"file_id":"AgACAgUAAxUAAWAdzvLbYgEGIlW5Ox2vkzdrY_vfAAIgqzEbeTbJVM_WmQrJtBEAAaCD7G50AAMBAAMCAAN4AAMJ3QEAAR4E","file_unique_id":"AQADoIPsbnQAAwndAQAB","file_size":22167,"width":640,"height":360}]},"reply_markup":{"inline_keyboard":[[{"text":"Play Lucky Spin","callback_game":{}}]]}},"chat_instance":"9169438509256759524","game_short_name":"luckySpin"}}]}

但是我为我的程序设置的范围是 8.. 我已经多次保存了我的程序。可能是什么问题?我的教授在他的讲座中使用了相同的代码,但一切都很好。这是程序;

hugekind.f95:5:6:

5 | i=3*10**10 
  |      1
Error: Result of exponentiation at (1) exceeds the range of INTEGER(4)

提前致谢!

0 个答案:

没有答案