sleef icon indicating copy to clipboard operation
sleef copied to clipboard

SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT

Results 125 sleef issues
Sort by recently updated
recently updated
newest added

I follow the installation guide here - https://sleef.org/compile.xhtml. But all functions in the benchmark give me flat run time around 2ns. Is it possible the compilation flag is not optimized?

make
perf

## System Info ``` Model Name: Mac mini Model Identifier: Macmini9,1 Chip: Apple M1 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 16 GB System Firmware Version:...

See the following test case: ```c++ #include #include #include #include #include void test_case() { double x = 0.00024450098000686866; double result0 = Sleef_cosd8_u10avx512f(_mm512_setr_pd(x, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)).m512d_f64[0]; double...

algo
determinism

1. Are the scalar functions deterministic? 2. If so, are the vector functions guaranteed to give the same results as the scalar functions (given DETERMINISTIC)? 3. Are there plans to...

Hello, First of all, thanks for this great library! Is there an ETA for the release of version 3.6? Apologies if this is the wrong communication channel for this sort...

Hi! Thanks for developing this great library! I'm trying to convert our code to use the Sleef support added to the Blaze library. Unfortunately it looks like `hypot` is broken...

algo

Fedora Linux just introduced a pre-release build of `gcc` 12.0.0 to the development version of Fedora (Rawhide). (Fedora 36 will be released with GCC 12 in mid-2022.) This has resulted...

There seems to be something wrong with xexpfrexp. when input is 2.1445984715023983335e-308,the output of libm's frexp and scalr expfrexp of sleef is -1022 while simd expfrexp of sleef is -969....

algo

Minimized code: ```c #include #include #include #include #include #define SLEEF_ALWAYS_INLINE __attribute__((always_inline)) #define SLEEF_INLINE static inline #define SLEEF_CONST const #include int main(void) { __m256d x = _mm256_set1_pd(1.0); x = Sleef_expd4_u10avx2(x); printf("%f...

I'm encountering the following build issue on my system: ``` [99/308] /mnt/a/u/sciteam/stewart1/spack/lib/spack/env/gcc/gcc -DENABLE_ALIAS=1 -DUSEMPFR=1 -I/scratch/sciteam/stewart1/spack-stage-sleef-master-2qysp4qup7zd4pa2u4fa26e73rwpj6v6/spack-src/src/common -I/scratch/sciteam/stewart1/spack-stage-sleef-master-2qysp4qup7zd4pa2u4fa26e73rwpj6v6/spack-src/src/arch -Iinclude -I/scratch/sciteam/stewart1/spack-stage-sleef-master-2qysp4qup7zd4pa2u4fa26e73rwpj6v6/spack-src/src/libm -Isrc/libm/include -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math -fno-strict-aliasing -O3 -DNDEBUG...