📄 math.cpp
字号:
#include "../fnmath.hpp"#include <cstdio>#include <cstdlib>using namespace std;struct a{ static const double f_val = 1;};struct q{ static const double f_val = 2;};int main(){ printf ("%1.17lf\n", btil::fn::factorial<10>::value::f_val); printf ("%1.17lf\n", btil::fn::geometric<a, q, 10>::value::f_val); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -