godot/tests/core
lawnjelly 50c5ed4876 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.
2023-05-11 08:34:34 +01:00
..
config One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
input Add Unit test for InputEventMouse 2023-01-29 14:09:53 +01:00
io Fail instead of segfaulting in IO tests 2023-01-31 02:21:27 -05:00
math Make acos and asin safe 2023-05-11 08:34:34 +01:00
object Fix various errors when running the unit tests 2023-05-09 18:40:56 +02:00
os One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string Merge pull request #75510 from SilicDev/string_erase 2023-05-05 10:03:49 -07:00
templates Fix PagedArray.merge_unordered() dropping pages 2023-02-16 19:58:27 -05:00
threads One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
variant Fix Array.slice() rounding for abs(step) != 1 2023-03-14 15:46:45 +01:00
test_crypto.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_hashing_context.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_time.h Explicitly cast to Variant's int type in Time tests 2023-02-20 14:46:21 -06:00