Add missing definitions for NAN, POS_INF and NEG_INF
Merge branch 'master' into feature/spacecenter