我有 C# Visual Studio 项目 .net Framework 4.8。我知道 float 有 IsNormal() 方法,但我找不到它。 我尝试添加参考文献,但没有帮助。 如何将 IsNormal() 添加到我的项目中?
谢谢大家。 对于在搜索引擎中找到此问题的人,答案是:使用此处的代码https://source.dot.net/#System.Private.CoreLib/src/libraries/System.Private.CoreLib/src/系统/Single.cs,202