Fix incorrect limits for floating point numbers
Fix string comparison utility function