首页 > TAG信息列表 > represented

关于double转float

无意之间想到的问题,节选自C99标准: 6.3.1.5 Real floating types 1 When a float is promoted to double or long double, or a double is promoted to long double, its value is unchanged. 2 When a double is demoted to float, a long double is demoted to double or float,