mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -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:
@ -59,6 +59,7 @@ namespace apoconv
|
||||
{ "pow(", "std::pow(" },
|
||||
{ "fabs(", "std::abs(" },
|
||||
{ "log(", "std::log(" },
|
||||
{ "exp(", "std::exp(" },
|
||||
|
||||
{ "sqr(", "Sqr(" },
|
||||
|
||||
@ -69,7 +70,7 @@ namespace apoconv
|
||||
{ "M_LN10", "T(M_LN10)" },
|
||||
{ "M_PI", "T(M_PI)" },
|
||||
{ "M_PI_2", "T(M_PI_2)" },
|
||||
{ "M_PI_4", "T(M_PI_4)" },
|
||||
{ "M_PI_4", "M_PI4" },
|
||||
{ "M_1_PI", "T(M_1_PI)" },
|
||||
{ "M_2_PI", "T(M_2_PI)" },
|
||||
{ "M_2_SQRTPI", "T(M_2_SQRTPI)" },
|
||||
|
Reference in New Issue
Block a user