Other libc implementations support underscores in NaN(n-char-sequence)
strings. Us not supporting that is causing fuzz failures, so this patch
solves the problem.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D156927  
[libc] Support underscores in NaN char sequences ClosedPublic Authored by michaelrj on Aug 2 2023, 11:28 AM. 
Details Summary Other libc implementations support underscores in NaN(n-char-sequence) 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptAug 2 2023, 11:28 AM This revision is now accepted and ready to land.Aug 2 2023, 11:46 AM Closed by commit rGad844632b932: [libc] Support underscores in NaN char sequences (authored by michaelrj).  ·  Explain WhyAug 2 2023, 1:03 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 546583 libc/src/__support/str_to_float.h
 libc/test/src/stdlib/strtof_test.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||