virtualx-engine/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 Made hidden ProjectSettings groups more explicit 2023-08-23 22:43:43 +02:00
crypto mbedTLS: disable weak crypto and TLS versions. 2023-05-10 11:13:19 +02:00
debugger Support threads in the script debugger 2023-07-26 12:06:45 +02:00
error Usage notes for DEV_ASSERT macro 2023-08-02 13:29:35 +01:00
extension Merge pull request #78634 from Sauermann/fix-notification-order 2023-08-30 08:44:36 +02:00
input Remove debug print 2023-08-29 15:34:24 +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 Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-08-28 03:37:22 -03:00
string Optimize String.left() and String.right() 2023-08-20 20:01:06 +03:00
templates Allow renaming child nodes in _ready 2023-06-26 13:25:48 +02:00
variant Add inverse hyperbolic functions asinh(), acosh() & atanh() 2023-09-01 01:27:56 +02:00
core_bind.cpp Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points 2023-08-16 09:11:53 +02:00
core_bind.h Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points 2023-08-16 09:11:53 +02:00
core_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
core_constants.cpp Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-08-28 03:37:22 -03:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
doc_data.h GDScript: Add @deprecated and @experimental doc comment tags 2023-07-08 18:13:19 +03:00
register_core_types.cpp Properly free core types in reverse order 2023-05-30 17:47:12 +02:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub FreeType: Update to version 2.13.1 2023-07-10 12:04:02 +03:00
typedefs.h Fix several clang-tidy bool literal conversion warnings 2023-03-04 16:38:35 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-12 22:08:49 +02:00