trav90
640699d588
Issue #2749 - Part 6 - Teach mfbt/casting.h to deal with floating point values
...
This now uses `if constexpr (...)` which is a lot more readable, and still compiles to almost no assembly instructions, as expected. Floating point casting assert when casting an integer that's too large to be represented exactly as a floating point (e.g. UINT64_MAX to double, since double have less than 64 bytes of mantissa), or when casting a double that's too large to be represented in a float.
2025-05-22 10:00:48 +02:00
..
2020-09-23 15:52:00 +00:00
2023-06-29 22:27:28 +02:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2025-05-22 10:00:48 +02:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2018-02-02 04:16:08 -05:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 15:37:46 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2018-02-02 04:16:08 -05:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2023-07-02 10:28:09 +02:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2023-11-08 13:50:33 +01:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 15:37:46 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 14:52:16 +00:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00
2023-03-15 13:02:23 +01:00
2020-09-23 13:55:00 +00:00
2020-09-23 13:55:00 +00:00