deal with number less than zero 2014-7-29 15:50:37
add the situation when temp is Inf
2014-7-30 11:31:58