Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 10, 2024
1 parent 95dccad commit 1ec9d67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_minifier/src/node_util/number_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl std::ops::Mul<Self> for NumberValue {
Self::Number(num) if num < 0.0 => -self,
Self::PositiveInfinity => self,
Self::NegativeInfinity => -self,
_ => Self::NaN
_ => Self::NaN,
},
}
}
Expand All @@ -90,7 +90,7 @@ impl std::ops::Div<Self> for NumberValue {
Self::Number(other_num) => Self::Number(num / other_num),
Self::PositiveInfinity | Self::NegativeInfinity if num < 0.0 => -other,
Self::PositiveInfinity | Self::NegativeInfinity if num > 0.0 => other,
_ => Self::NaN
_ => Self::NaN,
},
Self::NaN => Self::NaN,
Self::PositiveInfinity | Self::NegativeInfinity => match other {
Expand Down

0 comments on commit 1ec9d67

Please sign in to comment.