Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

ippsThreshold_GT_64f fails for NAN values in 64-bit architecture

meldaproduction
Beginner
320 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
320 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

0 Kudos
meldaproduction
Beginner
320 Views

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

0 Kudos
Reply