Assignment of Signalling NaN

Assignment of Signalling NaN

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.

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 - Intel Developer Support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui