[libc-commits] [PATCH] D94109: [libc] Add implementations of nextafter[f|l] functions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jan 5 12:03:33 PST 2021


sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, pengfei, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

A differential fuzzer for these functions has also been added.
Along the way, a small correction has been done to the normal/subnormal
limits of x86 long double values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94109

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/fuzzing/math/CMakeLists.txt
  libc/fuzzing/math/Compare.h
  libc/fuzzing/math/nextafter_differential_fuzz.cpp
  libc/spec/stdc.td
  libc/src/math/CMakeLists.txt
  libc/src/math/nextafter.cpp
  libc/src/math/nextafter.h
  libc/src/math/nextafterf.cpp
  libc/src/math/nextafterf.h
  libc/src/math/nextafterl.cpp
  libc/src/math/nextafterl.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/NextAfterTest.h
  libc/test/src/math/nextafter_test.cpp
  libc/test/src/math/nextafterf_test.cpp
  libc/utils/FPUtil/LongDoubleBitsX86.h
  libc/utils/FPUtil/ManipulationFunctions.h
  libc/utils/FPUtil/NextAfterLongDoubleX86.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94109.314681.patch
Type: text/x-patch
Size: 23878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210105/06f22f2f/attachment-0001.bin>


More information about the libc-commits mailing list