[all-commits] [llvm/llvm-project] 201cc2: [libc] Correct rounding for hexadecimalStringToFlo...

lntue via All-commits all-commits at lists.llvm.org
Tue Nov 16 11:31:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 201cc2d885287c91127d23ffe6f30472e974b2dc
      https://github.com/llvm/llvm-project/commit/201cc2d885287c91127d23ffe6f30472e974b2dc
  Author: Tue Ly <lntue at google.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

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

  Log Message:
  -----------
  [libc] Correct rounding for hexadecimalStringToFloat with long inputs.

Update binaryExpTofloat so that it will round correctly for long inputs when converting hexadecimal strings to floating points.

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




More information about the All-commits mailing list