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:
parent
09ee64ea98
commit
d12e375481
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue