c-standard

Tag

Cards List
#c-standard

your c is not standard c

Lobsters Hottest ↗ · 2026-10-12 Cached

一篇技术博客文章,列举了标准 C 与 gcc/clang + glibc/musl 实际行为之间的多种不兼容之处,包括 asm 关键字、FLT_ROUNDS、标准 pragma 未实现以及 initstate 错误处理等问题。

0 favorites 0 likes
#c-standard

oh, apparently it's not possible to portably check for string-to-float conversion errors in standard c

Lobsters Hottest ↗ · 2026-10-10 Cached

博客文章探讨了标准 C 中 string-to-float 转换函数(strtod 等)无法可移植地检测转换错误的问题:标准依赖 math_errhandling,而 POSIX 总是要求设置 errno,二者兼容性存疑。

0 favorites 0 likes
← Back to home

Submit Feedback