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

📄 lookup.h

📁 This a framework to test new ideas in transmission technology. Actual development is a LDPC-coder in
💻 H
字号:
#ifndef LOOKUP_H__#define LOOKUP_H__// Put OPTIMIZE to 0 to use the original math functions#define OPTIMIZE 1//#define T 160#define T 1200#define TA 4095#define MAX_VALUE 10/* If OPTIMIZE is defined, the lookup-functions are used, else the original * functions are used. * This function is used to restrict the input values which are in doubles * to a MAX specified by the int */double restrict(double,int);#if OPTIMIZE// Lookup-table functions for log and exp.short int lookup_tanh( int x );short int lookup_atanh( int x );void lookup_init();void lookup_exit();#else#include <math.h>#define lookup_init() {}#define lookup_exit() {}#define lookup_tanh tanh#define lookup_atanh() atanh#endif#endif

⌨️ 快捷键说明

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