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

Kjetil Matheussen k.s.matheussen at gmail.com
Sun Oct 6 13:35:37 UTC 2013


> 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...


More information about the Linux-audio-dev mailing list