Updating files

This commit is contained in:
Michel Mastriani
2019-06-16 00:40:43 -03:00
parent ddece14251
commit 358e899a05
2 changed files with 7 additions and 2 deletions

View File

@ -81,9 +81,14 @@ static string ConstantDefinesString(bool doublePrecision)
"#define M2PI ((real_t)M_2_PI)\n"
"#define M_2PI (MPI * 2)\n"
"#define M_3PI (MPI * 3)\n"
"#define SQRT3 ((real_t)(1.7320508075688772935274463415059))\n"
"#define SQRT3_2 ((real_t)(0.86602540378443864676372317075294))\n"
"#define SQRT3_3 ((real_t)(0.57735026918962576450914878050196))\n"
"#define SQRT5 2.2360679774997896964091736687313\n"
"#define M_PHI 1.61803398874989484820458683436563\n"
"#define M_1_2PI 0.15915494309189533576888376337251\n"
"#define M_PI3 ((real_t)(1.0471975511965977461542144610932))\n"
"#define M_PI6 ((real_t)(0.52359877559829887307710723054658))\n"
"#define DEG_2_RAD (MPI / 180)\n"
"#define CURVES_LENGTH_M1 ((real_bucket_t)" << CURVES_LENGTH_M1 << ")\n" <<
"#define ONE_OVER_CURVES_LENGTH_M1 ((real_bucket_t)" << ONE_OVER_CURVES_LENGTH_M1 << ")\n" <<