[all-commits] [llvm/llvm-project] ad8446: [libc] Support underscores in NaN char sequences

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Aug 2 13:03:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad844632b932f1805cd25a054ef953835152d605
      https://github.com/llvm/llvm-project/commit/ad844632b932f1805cd25a054ef953835152d605
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M libc/src/__support/str_to_float.h
    M libc/test/src/stdlib/strtof_test.cpp

  Log Message:
  -----------
  [libc] Support underscores in NaN char sequences

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.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D156927




More information about the All-commits mailing list