摘要: 对unsigned 赋 负值 ,及与负数运算 (Test) unsigned u = -1; assert(u == pow(2, sizeof(unsigned) * 8) - 1); //将 -1 转化为unsigned ,再赋给 u assert(u + 2 == 1); //unsigned 阅读全文
posted @ 2019-12-24 09:43 Delta_in_Cnblogs 阅读(299) 评论(0) 推荐(0) 编辑