more specific error message for nan_util
added NaN test for sign
added NaN test for value_of