mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 05:05:09 -04:00
--User changes
-cosh, coth, csch, sech, sinh, tanh: Scale inputs by PI/4. This will produce different results, but is technically more correct. --Code changes -cos, csch: move position of sign flip, shouldn't change output. -cot, coth, csc, csch, sec, sech, tan, tanh: add optimization.
This commit is contained in:
@ -50,6 +50,7 @@ namespace EmberNs
|
||||
#define RAD_2_DEG_T (T(180) / T(M_PI))
|
||||
#define M_2PI (T(M_PI * 2))
|
||||
#define M_3PI (T(M_PI * 3))
|
||||
#define M_PI4 (T(M_PI_4))
|
||||
#define SQRT5 T(2.2360679774997896964091736687313)
|
||||
#define M_PHI T(1.61803398874989484820458683436563)
|
||||
#define M_1_2PI T(0.15915494309189533576888376337251)
|
||||
|
Reference in New Issue
Block a user