File tree Expand file tree Collapse file tree 1 file changed +9
-21
lines changed
libcxx/test/std/numerics/c.math Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -63,33 +63,21 @@ struct TestInt {
6363};
6464
6565struct ConvertibleFloat {
66- int value;
67-
68- ConvertibleFloat (int v) : value(v) {}
69-
70- operator float () const {
71- return static_cast <float >(value);
72- }
66+ int value;
67+ ConvertibleFloat (int v) : value(v) {}
68+ operator float () const { return static_cast <float >(value); }
7369};
7470
7571struct ConvertibleDouble {
76- int value;
77-
78- ConvertibleDouble (int v) : value(v) {}
79-
80- operator double () const {
81- return static_cast <double >(value);
82- }
72+ int value;
73+ ConvertibleDouble (int v) : value(v) {}
74+ operator double () const { return static_cast <double >(value); }
8375};
8476
8577struct ConvertibleLongDouble {
86- int value;
87-
88- ConvertibleLongDouble (int v) : value(v) {}
89-
90- operator long double () const {
91- return static_cast <long double >(value);
92- }
78+ int value;
79+ ConvertibleLongDouble (int v) : value(v) {}
80+ operator long double () const { return static_cast <long double >(value); }
9381};
9482
9583int main (int , char **) {
You can’t perform that action at this time.
0 commit comments