Definitions of sqrt, sin, cos, pow etc. in cmath

后端 未结 8 1228
野趣味
野趣味 2020-12-13 00:13

Are there any definitions of functions like sqrt(), sin(), cos(), tan(), log(), exp() (these fr

8条回答
  •  天涯浪人
    2020-12-13 01:05

    Have a look at how glibc implements various math functions, full of magic, approximation and assembly.

提交回复
热议问题