[all-commits] [llvm/llvm-project] 9b3973: [libc] add modified Eisel-Lemire for long doubles

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Dec 22 16:45:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b39737129f549ce3a17893c780bab96441ac921
      https://github.com/llvm/llvm-project/commit/9b39737129f549ce3a17893c780bab96441ac921
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

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

  Log Message:
  -----------
  [libc] add modified Eisel-Lemire for long doubles

The Eisel-Lemire algorithm is an effecient way to handle converting to
floating point numbers from strings, but in its base form it only
supports up to 64 bit floating point numbers. This adds an
implementation to handle long doubles.

Reviewed By: lntue

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




More information about the All-commits mailing list