common/fp/op/FPConvert: Remove unnecessary casts in FPConvert()

These were made unnecessary in 2c2fdb435cf8e358a0c5b907ce8131e434df3f22,
but were missed during the initial removal.
This commit is contained in:
Lioncash 2019-04-16 21:51:21 -04:00 committed by MerryMage
parent 09ee64ea98
commit d12e375481

View file

@ -73,11 +73,11 @@ FPT_TO FPConvert(FPT_FROM op, FPCR fpcr, RoundingMode rounding_mode, FPSR& fpsr)
return FPT_TO(u32{sign} << 15 | 0b111111111111111);
}
return FPT_TO(FPInfo<FPT_TO>::Infinity(sign));
return FPInfo<FPT_TO>::Infinity(sign);
}
if (type == FPType::Zero) {
return FPT_TO(FPInfo<FPT_TO>::Zero(sign));
return FPInfo<FPT_TO>::Zero(sign);
}
return FPRoundCV<FPT_TO>(value, fpcr, rounding_mode, fpsr);