Skip to content

Add support for v_log (Natural Logarithm) #25781

Merged
asmorkalov merged 3 commits intoopencv:4.xfrom
WanliZhong:v_log
Jul 3, 2024
Merged

Add support for v_log (Natural Logarithm) #25781
asmorkalov merged 3 commits intoopencv:4.xfrom
WanliZhong:v_log

Conversation

@WanliZhong
Copy link
Copy Markdown
Member

@WanliZhong WanliZhong commented Jun 18, 2024

This PR aims to implement v_log(v_float16 x), v_log(v_float32 x) and v_log(v_float64 x).
Merged after #24941

TODO:

  • double and half float precision
  • tests for them
  • doc to explain the implementation

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake
force_builders=Linux AVX2

@asmorkalov
Copy link
Copy Markdown
Contributor

@WanliZhong Please rebase and fix conflicts after merge #24941

@WanliZhong WanliZhong marked this pull request as ready for review July 2, 2024 13:51
@vpisarev
Copy link
Copy Markdown
Contributor

vpisarev commented Jul 3, 2024

thank you, excellent job!

@asmorkalov asmorkalov merged commit bef6c11 into opencv:4.x Jul 3, 2024
@asmorkalov asmorkalov mentioned this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants