virtualx-engine/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
..
a_star.cpp
a_star.h
a_star_grid_2d.cpp
a_star_grid_2d.h
aabb.cpp
aabb.h
audio_frame.h
basis.cpp
basis.h
bvh.h
bvh_abb.h
bvh_cull.inc
bvh_debug.inc
bvh_integrity.inc
bvh_logic.inc
bvh_misc.inc
bvh_pair.inc
bvh_public.inc
bvh_refit.inc
bvh_split.inc
bvh_structs.inc
bvh_tree.h
color.cpp
color.h
color_names.inc
convex_hull.cpp
convex_hull.h
delaunay_2d.h
delaunay_3d.h
disjoint_set.h
dynamic_bvh.cpp
dynamic_bvh.h
expression.cpp
expression.h
face3.cpp
face3.h
geometry_2d.cpp
geometry_2d.h
geometry_3d.cpp
geometry_3d.h
math_defs.h
math_fieldwise.cpp
math_fieldwise.h
math_funcs.cpp
math_funcs.h Add inverse hyperbolic functions asinh(), acosh() & atanh() 2023-09-01 01:27:56 +02:00
plane.cpp
plane.h
projection.cpp
projection.h
quaternion.cpp
quaternion.h
quick_hull.cpp
quick_hull.h
random_number_generator.cpp
random_number_generator.h
random_pcg.cpp
random_pcg.h
rect2.cpp
rect2.h
rect2i.cpp
rect2i.h
SCsub
static_raycaster.cpp
static_raycaster.h
transform_2d.cpp
transform_2d.h
transform_3d.cpp
transform_3d.h
triangle_mesh.cpp
triangle_mesh.h
triangulate.cpp
triangulate.h
vector2.cpp
vector2.h
vector2i.cpp
vector2i.h
vector3.cpp
vector3.h
vector3i.cpp
vector3i.h
vector4.cpp
vector4.h
vector4i.cpp
vector4i.h