importGHC.Floatmain::IO()main=do-- As per #16617, Word32s should be non-negativeprint$castFloatToWord32(-1)print$toInteger(castFloatToWord32(-1))>0-- For completeness, so should Word64sprint$castDoubleToWord64(-1)print$toInteger(castDoubleToWord64(-1))>0