godot/tests
lawnjelly efbb28d09a
Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.

(cherry picked from commit 50c5ed4876)
2023-05-12 12:31:23 +02:00
..
core Make acos and asin safe 2023-05-12 12:31:23 +02:00
data
python_build
scene Fix ctrl+backspace crash with multicarets on the same line 2023-02-19 12:04:14 +00:00
servers One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub
create_test.py One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
display_server_mock.h Add Unit Tests for Viewport InputEvent handling 2023-02-09 14:53:04 +01:00
test_macros.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_macros.h Add Unit Tests for Viewport InputEvent handling 2023-02-09 14:53:04 +01:00
test_main.cpp Add Unit Tests for Viewport InputEvent handling 2023-02-09 14:53:04 +01:00
test_main.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_tools.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_validate_testing.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00