FTXUI/src/ftxui
Arthur Sonzogni d75108e960
Fix linear_gradient float precision bug.
This was reported by:
https://github.com/ArthurSonzogni/FTXUI/issues/998

Indeed, the `t` interpolation factor, which is itself interpolated might become
slightly larger than 1.0. This is due to the float precision.
This was supposedly handled, but there was an off-by-one error in the check.

Along the way, fix a bug found by a fuzzer.

Bug: https://github.com/ArthurSonzogni/FTXUI/issues/998
Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/998
2025-02-10 23:10:27 +01:00
..
component Fix linear_gradient float precision bug. 2025-02-10 23:10:27 +01:00
dom Fix linear_gradient float precision bug. 2025-02-10 23:10:27 +01:00
screen Feature: Selection 2024-12-27 09:45:13 +01:00
util Apply Clang-tidy (#918) 2024-08-16 11:19:51 +02:00