FTXUI/cmake
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
..
ftxui_benchmark.cmake cmake: support gtest from the package manager (#552) 2023-01-14 20:37:42 +01:00
ftxui_coverage.cmake Add code coverage support. (#378) 2022-04-17 15:47:20 +02:00
ftxui_export.cmake build: Properly escape paths which may contain spaces 2023-05-29 16:27:31 +02:00
ftxui_find_google_benchmark.cmake Upgrade the version of google benchmark (#709) 2023-07-29 11:00:48 +02:00
ftxui_find_google_test.cmake build: Properly escape paths which may contain spaces 2023-05-29 16:27:31 +02:00
ftxui_fuzzer.cmake CMake: use compile_features to set min C++ standard (#647) 2023-05-25 19:34:34 +02:00
ftxui_install.cmake build: Properly escape paths which may contain spaces 2023-05-29 16:27:31 +02:00
ftxui_message.cmake build: Display options and turn DOC/EXAMPLE OFF (#661) 2023-06-04 14:35:08 +02:00
ftxui_package.cmake cmake: support gtest from the package manager (#552) 2023-01-14 20:37:42 +01:00
ftxui_set_options.cmake Fix linear_gradient float precision bug. 2025-02-10 23:10:27 +01:00
ftxui_test.cmake Fix linear_gradient float precision bug. 2025-02-10 23:10:27 +01:00
ftxui-config.cmake.in build: Check package version in find_package (#643) 2023-05-19 17:50:23 +02:00
iwyu.cmake build: Properly escape paths which may contain spaces 2023-05-29 16:27:31 +02:00