adding call for NaN

Signed-off-by: JerinJ <jerinj@cybage.com>