mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-12 16:27:23 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -37,7 +37,7 @@ void square_wave()
|
||||
" (1/21)*sin(42*pi*f*t)+(1/23)*sin(46*pi*f*t)+"
|
||||
" (1/25)*sin(50*pi*f*t)+(1/27)*sin(54*pi*f*t))";
|
||||
|
||||
static const T pi = T(3.14159265358979323846);
|
||||
static const T pi = T(3.141592653589793238462643383279502);
|
||||
|
||||
T f = pi / T(10);
|
||||
T t = T(0);
|
||||
|
Reference in New Issue
Block a user