added isEqual to utils for float