Implement TAU.
All checks were successful
The build was successful.

This commit is contained in:
2019-06-29 14:21:29 +02:00
parent 616b2eeae3
commit 204060fa9d
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,14 @@ static void PH7_M_PI_Const(ph7_value *pVal, void *pUserData) {
SXUNUSED(pUserData); /* cc warning */
ph7_value_double(pVal, PH7_PI);
}
/*
* M_TAU
* Expand the value of tau.
*/
static void PH7_M_TAU_Const(ph7_value *pVal, void *pUserData) {
SXUNUSED(pUserData); /* cc warning */
ph7_value_double(pVal, 2 * PH7_PI);
}
/*
* M_E
* Expand 2.7182818284590452354