Lioncash
6e1c6297a3
fixed_point: Mark default constructor as constexpr
...
Ensures that a fixed-point value is always initialized
This likely also fixes several cases of uninitialized values being
operated on, since we have multiple areas in the codebase where the
default constructor is being used like:
Common::FixedPoint<50, 14> current_sample{};
and is then followed up with an arithmetic operation like += or
something else, which operates directly on FixedPoint's internal data
member, which would previously be uninitialized.
2022-10-18 16:06:50 -04:00
..
2022-05-26 19:01:26 -04:00
2022-10-03 18:43:56 -04:00
2022-07-27 19:47:06 -04:00
2022-10-06 21:00:54 +02:00
2022-10-06 21:00:54 +02:00
2022-10-06 21:00:54 +02:00
2022-10-06 21:00:53 +02:00
2022-07-27 12:53:49 +02:00
2022-08-27 03:31:17 +02:00
2022-06-13 20:09:32 -04:00
2022-06-13 20:09:32 -04:00
2022-07-27 12:53:49 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-10-06 21:00:53 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-06-15 16:59:13 -04:00
2022-04-28 18:24:11 +02:00
2022-04-28 18:24:11 +02:00
2022-10-13 17:23:47 -07:00
2022-07-15 10:34:38 +01:00
2022-04-28 18:24:11 +02:00
2022-10-18 16:06:46 -04:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-04-23 05:55:32 -04:00
2022-04-28 18:24:11 +02:00
2022-04-28 18:24:11 +02:00
2022-06-05 09:42:05 -04:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-04-23 05:55:32 -04:00
2022-07-02 12:33:49 -04:00
2022-07-02 12:33:49 -04:00
2022-10-18 16:06:50 -04:00
2022-10-06 21:00:52 +02:00
2022-04-28 18:24:11 +02:00
2022-04-28 18:24:11 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-10-09 12:49:18 -05:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-28 18:24:11 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-07-27 12:53:49 +02:00
2022-08-19 16:08:40 -07:00
2022-07-27 12:53:49 +02:00
2022-10-06 21:00:54 +02:00
2022-10-06 21:00:54 +02:00
2022-10-06 21:00:54 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-06-16 13:18:07 -04:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-09-01 16:50:41 +01:00
2022-04-23 05:55:32 -04:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-04-23 05:55:32 -04:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-08-25 12:32:14 -04:00
2022-10-13 12:24:04 -04:00
2022-08-15 20:25:42 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-05-15 18:06:33 -04:00
2022-05-15 18:06:33 -04:00
2022-04-28 18:24:11 +02:00
2022-07-27 12:53:49 +02:00
2022-07-27 12:53:49 +02:00
2022-04-28 18:24:11 +02:00
2022-04-23 05:55:32 -04:00
2022-06-28 01:10:55 +02:00
2022-08-02 01:01:54 -04:00
2022-07-29 15:41:57 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-28 18:24:11 +02:00
2022-08-16 15:19:57 -06:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-28 18:24:11 +02:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-07-06 12:42:01 -05:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00
2022-04-23 05:55:32 -04:00