Another attempt to trap FloatDomainError