lookup.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef LOOKUP_H__#define LOOKUP_H__//include<math.h>// Put this to 0 to use the original functions#define OPTIMIZE 0//#include<spc.h>// If OPTIMIZE is defined, the lookup-functions are used, else the original// functions are used.#if OPTIMIZE// Lookup-table functions for log and exp.double lookup_exp( double x );double lookup_log( double x );void lookup_init();void lookup_exit();#else#include <math.h>#define lookup_exp exp#define lookup_log log#define lookup_init() {}#define lookup_exit() {}#endif#endif

⌨️ 快捷键说明

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