Assignment of Signalling NaN

Assignment of Signalling NaN

Portrait de Community Admin

How do I initialize a variable to NaN? [I plowed through various sources to little avail; I only found that the signalling NaN does not result from computation but could be set? ?] thanks in advance.

2 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.
Portrait de Steve Lionel (Intel)

Very tricky to do on X86 - the processor will convert a signalling NaN to a quiet NaN anytime a floating load is done on it. What exactly are you trying to accomplish?

Steve

Steve

Connectez-vous pour laisser un commentaire.