fix a bug in NaN converter.

Signed-off-by: ubuntu <ubuntu@10-6-1-7.(none)>