virtualx-engine/tests/core
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
..
config Fix ProjectSettings::localize_path for Windows paths 2023-07-26 16:18:31 +02:00
input Added tests to InputEvent 2023-07-17 17:48:34 +02:00
io Revert "Implement loading DDS textures at run-time" 2023-08-29 14:25:16 +02:00
math Add inverse hyperbolic functions asinh(), acosh() & atanh() 2023-09-01 01:27:56 +02:00
object Fix Object::notification order 2023-08-30 00:15:55 +02:00
os One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string Merge pull request #78529 from Chaosus/string_reverse 2023-08-16 16:53:40 +02:00
templates Fix PagedArray.merge_unordered() dropping pages 2023-02-16 19:58:27 -05:00
threads Revert "Implement parallel foreach() for easier multithreading" 2023-07-27 13:41:27 +02:00
variant Fix range error for Array.slice 2023-07-07 23:19:42 +02: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