lundi 23 février 2015

Best way to check if double equals negative infinity in C++

I found this: http://ift.tt/1Dfyr8I but it appears to check for either positive or negative infinity. I just want to check if a value is equal to exactly negative infinity, or in otherwords is log(0)


Aucun commentaire:

Enregistrer un commentaire