For everyone, who want PI, e or some other const | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

For everyone, who want PI, e or some other const

#define _USE_MATH_DEFINES // #include <cmath> #define _USE_MATH_DEFINES // #include <math.h> pi = M_PI; e = M_E √2 = M_SQRT2

28th Apr 2018, 6:18 PM
Ixidot
Ixidot - avatar
1 Answer
+ 2
thanks
29th Apr 2018, 2:02 PM
Dilshodjon Olimov
Dilshodjon Olimov - avatar