fn_sqrt.cpp
来自「浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较」· C++ 代码 · 共 19 行
CPP
19 行
#include "../fn.hpp"
#include <cstdio>
#include <cstdlib>
using namespace std;
struct three
{
static const double f_val = 1E-11;
};
int main()
{
printf ("%1.17lf\n", btil::fn::sqrt<three>::value::f_val);
// system ("pause");
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?