Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robincaloudis committed Jul 14, 2024
1 parent 9df4a55 commit 86f5933
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions libcxx/test/std/numerics/c.math/isfinite.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,33 +63,21 @@ struct TestInt {
};

struct ConvertibleFloat {
int value;

ConvertibleFloat(int v) : value(v) {}

operator float() const {
return static_cast<float>(value);
}
int value;
ConvertibleFloat(int v) : value(v) {}
operator float() const { return static_cast<float>(value); }
};

struct ConvertibleDouble {
int value;

ConvertibleDouble(int v) : value(v) {}

operator double() const {
return static_cast<double>(value);
}
int value;
ConvertibleDouble(int v) : value(v) {}
operator double() const { return static_cast<double>(value); }
};

struct ConvertibleLongDouble {
int value;

ConvertibleLongDouble(int v) : value(v) {}

operator long double() const {
return static_cast<long double>(value);
}
int value;
ConvertibleLongDouble(int v) : value(v) {}
operator long double() const { return static_cast<long double>(value); }
};

int main(int, char**) {
Expand Down

0 comments on commit 86f5933

Please sign in to comment.