Updates #5660. Removed duplicate tests. Unified behaviour for float conversions on different compillers