{"id":60519,"library":"sleef","title":"SLEEF","description":"SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT.","status":"active","version":"3.9.0","language":"cpp","source_language":null,"source_url":null,"tags":["simd","math","vectorization","dft","performance"],"install":[{"cmd":"vcpkg install sleef","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(sleef CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE sleef::sleef)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"sleef.h","correct":"#include <sleef.h>"}],"quickstart":{"code":"#include <sleef.h>\n#include <stdio.h>\n\nint main() {\n    double x = 1.0;\n    double result = Sleef_sin_u10(x);\n    printf(\"sin(%f) = %f\\n\", x, result);\n    return 0;\n}","lang":"cpp","description":"Compute sine using SLEEF"},"warnings":[{"fix":"Choose the appropriate variant based on your precision requirements.","message":"Different function variants exist for accuracy vs. speed trade-offs (e.g., u10, u35).","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'dft':11,15 'elementari':6 'evalu':5 'function':7 'libm':9 'librari':3 'math':13 'perform':16 'simd':2,12 'sleef':1 'vector':8,14","created_at":"2026-06-16T19:34:16.213758+00:00","updated_at":"2026-06-16T19:34:16.213758+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}