virtualx-engine/tests/core/math
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
..
test_aabb.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_astar.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_basis.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_color.h Revert "Add API for HSL conversion" 2023-05-10 17:45:56 -03:00
test_expression.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_geometry_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_geometry_3d.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
test_math_funcs.h Add inverse hyperbolic functions asinh(), acosh() & atanh() 2023-09-01 01:27:56 +02:00
test_plane.h Rename center method to get_center in Plane. 2023-01-15 17:18:50 +01:00
test_quaternion.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_random_number_generator.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_rect2.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_rect2i.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_transform_2d.h Add support for interpolating skewed transforms 2023-01-28 18:28:42 -06:00
test_transform_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_vector2.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_vector2i.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_vector3.h Added component-wise min and max functions for vectors 2023-02-11 15:03:11 -05:00
test_vector3i.h Added component-wise min and max functions for vectors 2023-02-11 15:03:11 -05:00
test_vector4.h Added component-wise min and max functions for vectors 2023-02-11 15:03:11 -05:00
test_vector4i.h Added component-wise min and max functions for vectors 2023-02-11 15:03:11 -05:00