How IPP functions handle data that contain special values?

How IPP functions handle data that contain special values?

Do IPP functions  handle special values like quiet NaN/inf  strictly following the IEEE 754 way?

 

6 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

I mean, such as:

if x is a quiet NaN value, then do functions like ippsAddC_32f(x, yptr, length_of_y) returns strictly all NaNs despite whatever values stored in yptr?

Also how NaN values will be ranked when sorting some array that contain NaNs?

>>...Do IPP functions handle special values like quiet NaN...
>>...if x is a quiet NaN value, then do functions like ippsAddC_32f(x, yptr, length_of_y) returns strictly all NaNs despite whatever
>>values stored in yptr?

An IPP function could fail with Access Violation exception. It could also process data without Access Violation exception in a future release of IPP and please take a look at a similar thread:
http://software.intel.com/en-us/forums/showthread.php?t=106039&o=a&s=lr

Thanks, so the IPP functions are not stable with special values... thats too bad.

>>... the IPP functions are not stable with special values...

...It could also process data without Access Violation exception in a future release... and please take it into account. I wonder if somebody from IPP team could provide an update regarding the problem.

IPP libraries strictly follow IEEE 754 for floating point numbers. That means a bug in realization if you find different/undesirable behavior for any IPP function - so be so kind - submit a bug to QuAD or post a message here, please. Regarding ippiRotate - it has been already fixed - use 7.1. version, please. 2 Sergey Kostrov: I don't know any other IPP function that fails with AV because of special FP values in parameters - if you know - be so kind, share this info here, please.

PS I think you know an anecdote about Japanese gasoline-powered saw...

Regards,
Igor

Connectez-vous pour laisser un commentaire.