File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2004,21 +2004,20 @@ inline bool llvm_fenv_testexcept() {
20042004 return false ;
20052005}
20062006
2007- static const APFloat FTZPreserveSign (const APFloat &V) {
2007+ static APFloat FTZPreserveSign (const APFloat &V) {
20082008 if (V.isDenormal ())
20092009 return APFloat::getZero (V.getSemantics (), V.isNegative ());
20102010 return V;
20112011}
20122012
2013- static const APFloat FlushToPositiveZero (const APFloat &V) {
2013+ static APFloat FlushToPositiveZero (const APFloat &V) {
20142014 if (V.isDenormal ())
20152015 return APFloat::getZero (V.getSemantics (), false );
20162016 return V;
20172017}
20182018
2019- static const APFloat
2020- FlushWithDenormKind (const APFloat &V,
2021- DenormalMode::DenormalModeKind DenormKind) {
2019+ static APFloat FlushWithDenormKind (const APFloat &V,
2020+ DenormalMode::DenormalModeKind DenormKind) {
20222021 assert (DenormKind != DenormalMode::DenormalModeKind::Invalid &&
20232022 DenormKind != DenormalMode::DenormalModeKind::Dynamic);
20242023 switch (DenormKind) {
You can’t perform that action at this time.
0 commit comments