SimSIMD icon indicating copy to clipboard operation
SimSIMD copied to clipboard

warning: ISO C does not support the ‘_Float16’ type

Open MarkReedZ opened this issue 8 months ago • 3 comments

We have the following warnings. I can replace _Float16 with simsimd_f16_t

/home/ch/code/mr/SimSIMD/include/simsimd/probability.h:485:35: warning: ISO C does not support the ‘_Float16’ type [-Wpedantic]
  485 |     __m512h one = _mm512_set1_ph((_Float16)1);
      |                                   ^~~~~~~~

MarkReedZ avatar May 30 '24 04:05 MarkReedZ