Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 231 Bytes

File metadata and controls

11 lines (6 loc) · 231 Bytes

a, if (fval)

当fval = 0 时转换为false,否则转换为true

b, dval = fval + ival

ival由int转换为float,二者之和提升为double

c, dval + ival * cval

cval由char提升为int,二者之积转换为double