[libc-commits] [PATCH] D143291: Add scalbn implementation and unit tests.

Renyi Chen via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Feb 3 12:28:52 PST 2023


renyichen created this revision.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
renyichen requested review of this revision.

Return early if exp==0 to avid bits(x) construction.

Unlikely 2 conditions and update math.rst.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143291

Files:
  libc/config/darwin/arm/entrypoints.txt
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/windows/entrypoints.txt
  libc/docs/math.rst
  libc/spec/stdc.td
  libc/src/__support/FPUtil/ManipulationFunctions.h
  libc/src/math/CMakeLists.txt
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/scalbn.cpp
  libc/src/math/generic/scalbnf.cpp
  libc/src/math/generic/scalbnl.cpp
  libc/src/math/scalbn.h
  libc/src/math/scalbnf.h
  libc/src/math/scalbnl.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/ScalbnTest.h
  libc/test/src/math/scalbn_test.cpp
  libc/test/src/math/scalbnf_test.cpp
  libc/test/src/math/scalbnl_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143291.494705.patch
Type: text/x-patch
Size: 15164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230203/c7dbf564/attachment-0001.bin>


More information about the libc-commits mailing list