godot/tests
Jcrespo 528a76486c Add inverse hyperbolic functions asinh(), acosh() & atanh()
GDScript has the following built-in trigonometry functions:

- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`

However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:

- `asinh()`
- `acosh()`
- `atanh()`

Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.

References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
..
core Add inverse hyperbolic functions asinh(), acosh() & atanh() 2023-09-01 01:27:56 +02:00
data Revert "Implement loading DDS textures at run-time" 2023-08-29 14:25:16 +02:00
python_build Add GPUParticles to the OpenGL3 renderer. 2022-11-14 23:28:25 -08:00
scene Merge pull request #81037 from AThousandShips/openxr_register 2023-08-28 12:09:47 +02:00
servers Suppress expected errors in navi-related unit tests, #80616 2023-08-22 19:33:38 +02:00
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
SCsub SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02: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.cpp Physics 2D Picking 2023-08-07 09:06:19 +02:00
test_main.cpp Merge pull request #80105 from Sauermann/fix-global-transform 2023-08-28 12:03:53 +02: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