问题标签 [compiler-generated]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
201 浏览

c++ - 如何在 C++ 编译时生成查找表?

我一直在尝试实现一个编译器生成的包含正弦函数值的查找表。C++ 代码如下所示

我一直在为编译过程而苦苦挣扎。

谁能告诉我我做错了什么?