·2,447,543篇论文数据,部分数据来源于NoteExpress
SIGFPE—算术异常、整数被零除或浮点异常。
SIGFPE - Arithmetic exception, integer divided by 0, or floating-point exception.
这个响应会抛出一个异常,因为温度的值不是浮点类型—它实际上是一个字符串。
This response should throw an exception because the temperature value is not a float type — it is actually a string.
浮点运算永远不会引发异常。
Last thing to say is why would you want to have exceptions? Well, let's go back to that case of inputting a simple little floating point.
最后要讲的是为什么有异常处理?,回到输入一个简单的小浮点数的例子,如果我期望主要是。
应用推荐