Fixed a warning and added a nx_assert_float() macro for floating point assertions