Re: [LAD] A more efficient way to detect INF and/or NAN in a block of samples

From: Kjetil Matheussen <k.s.matheussen@email-addr-hidden>
Date: Sun Oct 06 2013 - 16:35:37 EEST

> I don't think this particular example works though (?),
> but perhaps something similar could?

Guess it would work to add all elements in the array,
and see if the result is inf or nan. That operation sounds
likely to be automatically vectorized by the c compiler...
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Oct 7 04:15:02 2013

This archive was generated by hypermail 2.1.8 : Mon Oct 07 2013 - 04:15:03 EEST