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

📄 utility.hpp

📁 RFID reader 语 tag 模拟器
💻 HPP
字号:
 #ifndef UTILITY_H #define UTILITY_H #include <iostream> using namespace std; #include <math.h> #include <boost/shared_ptr.hpp> typedef unsigned int t_uint; typedef unsigned long t_ulong; typedef unsigned char t_uchar; typedef boost::shared_ptr<ostream> ostreamPtr; inline double powerToDecibels(double powerValue) {    assert(powerValue != 0.0);    return (10.0 * log10(powerValue / 1.0)); } inline double decibelsToPower(double decibelValue) {    return (1.0 * pow(10, (decibelValue / 10.0))); } const double SPEED_OF_LIGHT = 299792458.0; const double PI = 3.14159265; #endif // UTILITY_H

⌨️ 快捷键说明

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