摘要: 代码 // 单精度转半精度 unsigned short cpu_float2half(float f) { unsigned short ret; unsigned x = *((int*)(void*)(&f)); unsigned u = (x & 0x7fffffff), remainder 阅读全文
posted @ 2024-09-18 17:01 倚剑问天 阅读(29) 评论(0) 推荐(0) 编辑