{"id":16622460,"url":"https://github.com/shibatch/sleef","last_synced_at":"2025-04-13T08:55:54.975Z","repository":{"id":42404562,"uuid":"48941123","full_name":"shibatch/sleef","owner":"shibatch","description":"SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT","archived":false,"fork":false,"pushed_at":"2025-04-05T12:17:56.000Z","size":7266,"stargazers_count":710,"open_issues_count":87,"forks_count":139,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-06T05:06:08.011Z","etag":null,"topics":["aarch64","avx2","avx512","cuda","elementary-functions","fft","fourier-transform","fourier-transform-library","math-library","powerpc","quadruple-precision","s390x","simd","sse2","vector-math","vectorization","vsx"],"latest_commit_sha":null,"homepage":"https://sleef.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shibatch.png","metadata":{"files":{"readme":"README.adoc","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-03T09:51:04.000Z","updated_at":"2025-04-05T12:17:58.000Z","dependencies_parsed_at":"2023-11-10T15:28:06.555Z","dependency_job_id":"424e1181-531b-4454-a9b5-8bf2473274aa","html_url":"https://github.com/shibatch/sleef","commit_stats":{"total_commits":362,"total_committers":32,"mean_commits":11.3125,"dds":"0.30939226519337015","last_synced_commit":"df84fc7b31ab3982f4c705fe838a184414385d9f"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibatch%2Fsleef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibatch%2Fsleef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibatch%2Fsleef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibatch%2Fsleef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shibatch","download_url":"https://codeload.github.com/shibatch/sleef/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688545,"owners_count":21145764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aarch64","avx2","avx512","cuda","elementary-functions","fft","fourier-transform","fourier-transform-library","math-library","powerpc","quadruple-precision","s390x","simd","sse2","vector-math","vectorization","vsx"],"created_at":"2024-10-12T03:00:49.262Z","updated_at":"2025-04-13T08:55:54.963Z","avatar_url":"https://github.com/shibatch.png","language":"C","readme":"== SLEEF - SIMD Library for Evaluating Elementary Functions\n\nimage:http://img.shields.io/badge/DOI-10.1109/TPDS.2019.2960333-blue.svg[TPDS, link=https://ieeexplore.ieee.org/document/8936472]\n\nSLEEF is a library that implements vectorized versions of C standard\nmath functions. This library also includes DFT subroutines.\n\n* *Web Page:* https://sleef.org/\n* *Sources:* https://github.com/shibatch/sleef\n\n\n== Supported environment\n\n=== Test matrix\n\nThe following table summarizes currently supported OSes and compilers.\n\n[cols=\"1,1,1,1,1,1,1,1,1\"]\n|===\n|        2+|Linux            4+|Windows                              2+|Mac\n|          |gcc      |llvm     |MSVC     |Clang    |MinGW    |Cygwin   |Clang    |GCC\n|x86_64    |\u0026#x2714; |\u0026#x2714; |\u0026#x2714; |\u0026#x2714; |\u0026#x2714; |\u0026#x2753; |\u0026#x2714; |\u0026#x2753;\n|RISC-V 64 |\u0026#x2714; |\u0026#x2753; |N/A      |N/A      |N/A      |N/A      |N/A      |N/A\n|AArch64   |\u0026#x2714; |\u0026#x2714; |\u0026#x274c; |\u0026#x274c; |\u0026#x274c; |\u0026#x274c; |\u0026#x2714; |\u0026#x2753;\n|POWER     |\u0026#x2714; |\u0026#x2753; |N/A      |N/A      |N/A      |N/A      |N/A      |N/A\n|S390X     |\u0026#x2714; |\u0026#x2753; |N/A      |N/A      |N/A      |N/A      |N/A      |N/A\n|=== \n\n\u0026#x2714; : Tested on CI, \u0026#x2753; : Not tested, \u0026#x274c; : Not supported\n\n\n== How to build SLEEF\n\nThe library itself does not have any additional dependency.\n\nIn order to build SLEEF, you need CMake 3.18+, and C and C++ compilers of the same version.\nIt is also recommended to have the following tools.\n\n* Ninja\n* Git\n\nhttps://github.com/shibatch/tlfloat[TLFloat] is automatically downloaded if no suitable version is found on your system.\n\nSome tests require:\n\n* libssl and libcrypto, that can be provided by installing openssl.\n* libm, libgmp and libmpfr\n* libfftw.\n\n\nThe build procedure is as follows.\n\n[arabic]\n. Check out the source code from our GitHub repository\n\n....\ngit clone https://github.com/shibatch/sleef\n....\n\n[arabic, start=2]\n. Make a separate directory to create an out-of-source build\n\n....\ncd sleef \u0026\u0026 mkdir build\n....\n\n[arabic, start=3]\n. Run cmake to configure the project\n\n....\ncmake -S . -B build\n....\n\nBy default this will generate shared libraries. In order to generate\nstatic libraries, pass option `-DBUILD_SHARED_LIBS=OFF`.\n\nFor more verbose output add option `-DSLEEF_SHOW_CONFIG=ON`.\n\n[arabic, start=4]\n. Run make to build the project\n\n....\ncmake --build build -j --clean-first\n....\n\n[arabic, start=5]\n. Run tests using ctests\n\n....\nctest --test-dir build -j\n....\n\nFor more detailed build instructions please refer to\nhttps://sleef.org/compile.xhtml#preliminaries[our web page].\n\n== How to cross-compile SLEEF\n\nFor more detailed please refer to\nhttps://sleef.org/compile.xhtml#cross[cross-compile SLEEF]\n\n== Install SLEEF\n\n=== From source\n\nAssuming following instructions were followed.\n\n[arabic, start=6]\n. Install to specified directory `\u003cprefix\u003e`\n\n....\ncmake --install build --prefix=\u003cprefix\u003e\n....\n\n=== Uninstall\n\nIn order to uninstall SLEEF library and headers run\n\n....\nsudo xargs rm -v \u003c build/install_manifest.txt\n....\n\n== License\n\nThe software is distributed under the Boost Software License, Version\n1.0. See accompanying file link:./LICENSE.txt[LICENSE.txt] or copy at\nhttp://www.boost.org/LICENSE_1_0.txt. Contributions to this project are\naccepted under the same license.\n\nSLEEF project aims to serve society as a whole, not just specific\ncompanies or organizations. We charge a fee for maintaining patches\nthat are convenient only for your company.\n\nThe fact that our software is released under an open source license\nonly means that you can use the current and older versions of the\nsoftware for free. If you want us to continue maintaining our\nsoftware, you need to financially support our project. Please see\nhttps://github.com/shibatch/nofreelunch?tab=coc-ov-file[CODE_OF_CONDUCT.md].\n\n\nCopyright © 2010-2025 SLEEF Project, Naoki Shibata and contributors.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshibatch%2Fsleef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshibatch%2Fsleef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshibatch%2Fsleef/lists"}