Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6621 Discussions

ippsThreshold_GT_64f fails for NAN values in 64-bit architecture

meldaproduction
Beginner
116 Views

Hi,

so my software started crashing, eventually pinpointed ippsThreshold_GT_64f - unlike normal comparison or ippsThreshold_GT_32f, it doesn't work with NANs. It just keeps them NAN.

0 Kudos
2 Replies
Igor_A_Intel
Employee
116 Views

Hi,

it's customer's responsibility to provide correct FP input - result of compare operation with NAN according to IEEE is undefined.

regards, Igor

meldaproduction
Beginner
116 Views

Aaaah, ok then, thanks for the answer. It was just quite surprising since in 32-bit mode it works as expected.

Reply