[all-commits] [llvm/llvm-project] 3fb63c: [libc] simplify printf float writing

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Sep 13 13:53:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fb63c2921798cf4f417d0907900bcaba01cdd40
      https://github.com/llvm/llvm-project/commit/3fb63c2921798cf4f417d0907900bcaba01cdd40
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M libc/src/stdio/printf_core/float_dec_converter.h

  Log Message:
  -----------
  [libc] simplify printf float writing

The two decimal float printing styles are similar, but different in how
they end. For simplicity of writing I initially gave them different
"write_last_block" functions. This patch unifies them into one function.

Reviewed By: sivachandra

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




More information about the All-commits mailing list