Sukumarsawant wrote: Do check https://libc.llvm.org/headers/math/index.html#implementation-requirements-goals mainly, - https://github.com/llvm/llvm-project/tree/main/libc/src/math/docs/add_math_function.md and format the code https://github.com/llvm/llvm-project/pull/199956