Fast implementation of trigonometric functions for c++

后端 未结 9 1702
孤城傲影
孤城傲影 2020-12-07 19:24

Short version: I\'d like to know whether there are implementations of the standard trigonometric functions that are faster than the ones included in math.h.

9条回答
  •  囚心锁ツ
    2020-12-07 19:51

    Long time ago on slow machines people used an arrays with precomputed values. another option to calculate with your own precision like this: (look for "Series definitions")

提交回复
热议问题