[all-commits] [llvm/llvm-project] 3b3b81: [libc] add rounding modes to printf float conv

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Jul 15 11:11:44 PDT 2022


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

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/float_hex_converter.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] add rounding modes to printf float conv

This adds functionality for rounding towards negative inf, positive inf,
and zero to the float hex conversion (%a).

Reviewed By: lntue

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




More information about the All-commits mailing list