SinH & CosH

I need to return the Hyperbolic Sin of a Value, but UE4 doesn’t seem to have any functions for SinH or CosH.

Any ideas how I can use the Std Library to do this?

you can use regular exponential functions such as here
3d7a58b2ce9bc5dbe3e77f104aaabc07.png

see this link

Well STD Library probably does it much faster and speed is key for this solution. Plus that’s a lot of code, so if I write that wrong, It’ll be a nightmare to debug.

How’s this?

http://www.cplusplus.com/reference/cmath/sinh/

It’s alright, turns out you can just type sinh or cosh and it falls back to Math.h anyway - no compiler errors.

Wanted to thank you for this. It’s an obvious and simple solution that hadn’t crossed my mind.

(i am being sincere)