Danil Chapovalov 3a45801d34 Make Unit types factories from float numbers be constexpr
std::isnan is not constexpr until c++23 and thus prevents constexpr construction from float numbers of unit types like DataRate
That check is not needed because is redundant with later check that value is convertable to int64_t

Bug: None
Change-Id: Ie8a06287492eb2122edf23fed63f1cd1bcd9df3d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/355220
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42520}
2024-06-21 13:40:17 +00:00
..
2023-11-15 12:10:28 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2024-04-30 08:47:29 +00:00
2024-04-24 20:53:23 +00:00
2022-08-19 07:11:06 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2022-01-28 15:13:45 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2021-08-31 14:27:49 +00:00
2024-02-01 14:43:30 +00:00
2024-02-01 14:43:30 +00:00
2023-04-21 06:17:42 +00:00
2024-06-07 09:47:26 +00:00
2024-06-07 09:47:26 +00:00
2024-02-01 14:43:30 +00:00
2023-04-21 06:17:42 +00:00
2021-09-21 15:17:26 +00:00
2024-04-24 20:53:23 +00:00
2024-06-07 09:47:26 +00:00