⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ln.cpp~

📁 浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较
💻 CPP~
字号:
#include "../fnexp.hpp"#include "../fnmath.hpp"#include <cstdio>using namespace std;struct t{  static const double f_val = 0.234;};int main(){  printf ("%1.17lf is %1.17lfb%d\n", t::f_val, 	  btil::fn::fn2em<t, 2>::m::f_val, 	  btil::fn::fn2em<t, 2>::e);  printf ("%1.17lf\n", btil::fn::ln<t>::value::f_val);  printf ("%1.17lf\n", btil::fn::__ln2::f_val);  printf ("%1.17lg\n", btil::fn::exp<t>::value::f_val);  printf ("%1.17lg\n", btil::fn::pow<t, t>::value::f_val);  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -