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

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

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

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 00:53

    Most modern hardware include floating point units that implement these functions very efficiently.

提交回复
热议问题