Is a conversion from a double to a float always potentially invoking undefined behaviour?

后端 未结 0 1491
灰色年华
灰色年华 2021-01-07 18:13

Here is the relevant part of the standard (6.3.1.5.2 Real floating types) of C99 :

When a double is demoted to float, a long double is demoted to double

相关标签:
回答
  • 消灭零回复
提交回复
热议问题