Itseez/opencv — pull request #1344 by ramiromagalhaes (2013-08-27 00:52:31+00:00)
Title: Solves issue 3204: Alternative inclusion of <math.h> or <cmath> which generate an error for isnan (Bug #3204)

http://code.opencv.org/issues/3204#note-3