llvm/llvm-project
Ver no GitHub[libc][math] Add missing isnan variants for float16, bfloat16, and float128
Open
#195.400 aberto em 2 de mai. de 2026
good first issuelibc
Métricas do repositório
- Stars
- (26.378 stars)
- Métricas de merge de PR
- (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)
Description
The current implementations of isnan are limited to float, double, and long double. We should add support for the remaining types (float16, bfloat16, and float128).
Additionally, the existing implementations currently rely on __builtin_isnan. I think refactoring them to use fputil would be better, especially since issignaling already uses fputil.