[all-commits] [llvm/llvm-project] 3b0c78: [libc][nfc] move printf inf/nan to separate function

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Jul 22 10:29:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b0c78fe3bc9e20061e38935ca6d4fb435027f41
      https://github.com/llvm/llvm-project/commit/3b0c78fe3bc9e20061e38935ca6d4fb435027f41
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/float_hex_converter.h
    A libc/src/stdio/printf_core/float_inf_nan_converter.h

  Log Message:
  -----------
  [libc][nfc] move printf inf/nan to separate function

The floating point functions all use the same inf and nan formatting. By
separating this functionality out of the %a conversion I make it
available for reuse by %f/e/g.

Reviewed By: lntue, sivachandra

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




More information about the All-commits mailing list