Skip to content

P0226R1: Mathematical Special Functions for C++17 #99939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 21 tasks
cjdb opened this issue Jul 22, 2024 · 5 comments
Open
1 of 21 tasks

P0226R1: Mathematical Special Functions for C++17 #99939

cjdb opened this issue Jul 22, 2024 · 5 comments
Assignees
Labels
c++17 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. wg21 paper Issues representing the implementation of a WG21 paper

Comments

@cjdb
Copy link
Contributor

cjdb commented Jul 22, 2024

Link: https://wg21.link/p0226r1

Subtasks:

BEGIN-RST-NOTES
Progress is tracked `here <https://github.com/llvm/llvm-project/issues/99939>`__
END-RST-NOTES
@cjdb cjdb added libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. c++17 labels Jul 22, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 22, 2024

@llvm/issue-subscribers-c-17

Author: Christopher Di Bella (cjdb)

@h-vetinari
Copy link
Contributor

There were several attempts at this (not claiming that the list below is exhaustive):

The last one is interesting for just using boost outright (like STL does), but that's in limbo with the LLVM board(?) around license questions. There was also this plan in some libc++ meeting notes from last year given in #72055 (there are probably several issues).

@ldionne
Copy link
Member

ldionne commented Jul 23, 2024

There actually has been progress on the LLVM Board side of things since then. We would be ready to make an official request for using Boost as a back-end to the Board, the framework should be in place to treat this request now. CC @llvm-beanz

@mordante
Copy link
Member

@PaulXiCao is working on this. The first function will be shipped in libc++ 19 :-)

@PaulXiCao
Copy link
Contributor

PaulXiCao commented Jul 23, 2024

Including Boost.Math sounds like a really great approach! I was told the licensing topic is too complex for a short-term solution which is why I started implementing them on my own.

I started out from the above linked, abandoned mr (from legacy Phabricator). The first function that got merged just recently was std::hermite (this mr for reference).
I started work on std::legendre, std::assoc_legendre, and std::laguerre some time ago. I planned to continue now that std::hermite got merged.

On the other hand, it might be more reasonable to wait for a final decision on the usage of Boost.Math?

@ldionne ldionne added the wg21 paper Issues representing the implementation of a WG21 paper label Jul 30, 2024
@ldionne ldionne changed the title Complete 'P0226R1 Mathematical Special Functions for C++17' P0226R1: Mathematical Special Functions for C++17 Aug 1, 2024
@ldionne ldionne moved this from Todo to In Progress in libc++ Standards Conformance Aug 21, 2024
ldionne added a commit to ldionne/llvm-project that referenced this issue Aug 22, 2024
Instead of tracking those using our static CSV files, I created lists
of subtasks in their respective issues (llvm#99939 and llvm#105169) to track
the work that is still left.
ldionne added a commit that referenced this issue Aug 23, 2024
Instead of tracking those using our static CSV files, I created lists of
subtasks in their respective issues (#99939 and #105169) to track the
work that is still left.
cjdb pushed a commit to cjdb/llvm-project that referenced this issue Aug 23, 2024
Instead of tracking those using our static CSV files, I created lists of
subtasks in their respective issues (llvm#99939 and llvm#105169) to track the
work that is still left.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++17 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. wg21 paper Issues representing the implementation of a WG21 paper
Projects
Status: In Progress
Development

No branches or pull requests

6 participants