[all-commits] [llvm/llvm-project] f4ba6a: [libc][complex] Set up headers and add documentati...

Shourya Goel via All-commits all-commits at lists.llvm.org
Mon Oct 14 10:35:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4ba6a654dd962aed45710fa049539537cf1f24c
      https://github.com/llvm/llvm-project/commit/f4ba6a654dd962aed45710fa049539537cf1f24c
  Author: Shourya Goel <shouryagoel10000 at gmail.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    A libc/docs/complex.rst
    M libc/docs/index.rst
    M libc/include/CMakeLists.txt
    A libc/include/complex.h.def
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/complex-macros.h
    M libc/src/__support/CPP/type_traits.h
    A libc/src/__support/CPP/type_traits/is_complex.h
    M libc/test/UnitTest/FPMatcher.h
    M libc/test/include/CMakeLists.txt
    A libc/test/include/complex_test.cpp

  Log Message:
  -----------
  [libc][complex] Set up headers and add documentation for complex.h. (#111659)

Refer: 7.3.1 from [ISO
SPEC](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf)

I have added complex variants of F16 and F128 in libc doc but have
omitted support for them since we will have to first investigate how
their support matrix for clang and gcc looks like, and then add header
guards for them accordingly. Planning to add them in follow up PRs once
this gets landed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list