llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[libc][math] Add bfloat16 lgamma function

Open Sukumarsawant opened this issue 6 months ago • 12 comments

Add lgamma math functions for bfloat16 type.

Make sure to adhere to: https://llvm.org/docs/AIToolPolicy.html Additional reference: https://libc.llvm.org/headers/math/index.html#implementation-requirements-goals

Sukumarsawant avatar May 22 '26 17:05 Sukumarsawant

@llvm/issue-subscribers-libc

Author: Zorojuro (Sukumarsawant)

Add tgamma and lgamma math functions for bfloat16 type.

Feel free to take one at a time.

Sukumarsawant avatar May 22 '26 18:05 Sukumarsawant

@Sukumarsawant I’ve made a PR. It has a few nits, and I haven’t implemented the math function yet. Could you please confirm if this is the correct flow??

udaykiriti avatar May 23 '26 04:05 udaykiriti

Can I work on lgamma?

0bVdnt avatar May 25 '26 07:05 0bVdnt

Can I work on lgamma?

lgamma is already taken you can try tgamma

Sukumarsawant avatar May 25 '26 08:05 Sukumarsawant

Can I work on lgamma?

lgamma is already taken you can try tgamma

Sure, on it.

0bVdnt avatar May 25 '26 08:05 0bVdnt

@0bVdnt any updates on tgamma? Also, I am splitting tgamma from this issue for better tracking, so you would have to comment on it to be assigned it to you again, if you are still intrested in working on it.

Sukumarsawant avatar Jul 04 '26 07:07 Sukumarsawant

on it

usefahmed07 avatar Sep 16 '26 15:09 usefahmed07

on it

cc: @udaykiriti If there isn't a reply by a week on this feel free to move ahead with your PR. Till that you can try other issues I mentioned @usefahmed07 .

Sukumarsawant avatar Sep 16 '26 15:09 Sukumarsawant

on it

cc: @udaykiriti If there isn't a reply by a week on this feel free to move ahead with your PR. Till that you can try other issues I mentioned .

@usefahmed07 you can move forward with yours since I confirmed it with assignee and he is no longer working on this

Thanks for the Assignee it to me, i am start work on it

usefahmed07 avatar Sep 16 '26 15:09 usefahmed07

Thanks for the Assignee it to me, i am start work on it

Do wait for a week for this one, I'll confirm with the author once, do start working on the other one till then . So there isn't a duplicate work.

Sukumarsawant avatar Sep 16 '26 15:09 Sukumarsawant

Thanks for the Assignee it to me, i am start work on it

Do wait for a week for this one, I'll confirm with the author once, do start working on the other one till then . So there isn't a duplicate work.

ok no problem i will start on #189543 As u mentioned

usefahmed07 avatar Sep 16 '26 15:09 usefahmed07