What causes Polyspace (R2013b) to display the message: pst_file_glob2.c, line 1733: error: floating-point value does not fit in required floating-point type
1 回表示 (過去 30 日間)
古いコメントを表示
Josef Waibl
2015 年 8 月 17 日
回答済み: Alexandre De Barros
2015 年 8 月 19 日
When checking a Simulink-model with Polyspace, I get the error message:
pst_file_glob2.c, line 1733: error: floating-point value does not fit in required floating-point type
((float)1.5721557359189072e-314), /* 1733 -g-> (23,46)-(251,0) */
File pst_file_glob2.c has been generated by Polyspace and is not human readable but binary.
How can I locate the cause of the problem?
0 件のコメント
採用された回答
Alexandre De Barros
2015 年 8 月 19 日
Hello,
the value that we see in the given line will fit in a float, so I'm surprised by this error.
I've tried the following code with Polyspace R2013b and had no problem:
float f = ((float)1.5721557359189072e-314);
I suggest you to contact the support with more information, especially the model if possible and the verification log.
Best regards,
Alexandre
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Generate Report についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!