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

后端 未结 8 1231
野趣味
野趣味 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:18

    Those are almost always implemented as system calls. If you want to look at the sources, you'd need access to the OS sources, which means you need to look at an open-source OS like Linux or BSD.

提交回复
热议问题