Cmath函数
来源:互联网 发布:现代散文鉴赏辞典知乎 编辑:程序博客网 时间:2024/06/05 10:57
cmath是c++语言中的库函数,类似于C语言的math.h头文件
常用的math函数 有 求幂,求对数,求余,等等。
using ::abs; //绝对值
using ::acos; //反余弦
using ::acosf; //反余弦
using ::acosl; //反余弦
using ::asin; //反正弦
using ::asinf; //反正弦
using ::asinl; //反正弦
using ::atan; //反正切
using ::atan2; //y/x的反正切
using ::atan2f; //y/x的反正切
using ::atan2l; //y/x的反正切
using ::atanf; //反正切
using ::atanl; //反正切
using ::ceil; //上取整
using ::ceilf; //上取整
using ::ceill; //上取整
using ::cos; //余弦
using ::cosf; //余弦
using ::cosh; //双曲余弦
using ::coshf; //双曲余弦
using ::coshl; //双曲余弦
using ::cosl; //余弦
using ::exp; //指数值
using ::expf; //指数值
using ::expl; //指数值
using ::fabs; //绝对值
using ::fabsf; //绝对值
using ::fabsl; //绝对值
using ::floor; //下取整
using ::floorf; //下取整
using ::floorl; //下取整
using ::fmod; //求余
using ::fmodf; //求余
using ::fmodl; //求余
using ::frexp; //返回value=x*2n中x的值,n存贮在eptr中
using ::frexpf; //返回value=x*2n中x的值,n存贮在eptr中
using ::frexpl; //返回value=x*2n中x的值,n存贮在eptr中
using ::ldexp; //返回value*2exp的值
using ::ldexpf; //返回value*2exp的值
using ::ldexpl; //返回value*2exp的值
using ::log; //对数
using ::log10; //对数
using ::log10f; //对数
using ::log10l; //对数
using ::logf; //对数
using ::logl; //对数
using ::modf; //将双精度数value分解成尾数和阶
using ::modff; //将双精度数value分解成尾数和阶
using ::modfl; //将双精度数value分解成尾数和阶
using ::pow; //计算幂 pow(10.0,p)
using ::powf; //计算幂
using ::powl; //计算幂
using ::sin; //正弦
using ::sinf; //正弦
using ::sinh; //双曲正弦
using ::sinhf; //双曲正弦
using ::sinhl; //双曲正弦
using ::sinl; //正弦
using ::sqrt; //开方
using ::sqrtf; //开方
using ::sqrtl; //开方
using ::tan; //正切
using ::tanf; //正切
using ::tanh; //双曲正切
using ::tanhf; //双曲正切
using ::tanhl; //双曲正切
using ::tanl; //正切
0 0
- Cmath函数
- cmath中函数列表
- 6.3 cmath--数学函数
- cmath 函数库常用函数
- cmath
- cmath
- cmath
- C++中cmath函数列表
- cmath中的atan函数和atan2函数
- cmath库 与 贝塞尔函数Bessel
- cmath库中常用的数学函数
- Leading and Trailing 快速幂和cmath函数(modf函数,log10函数,pow函数)
- [C++]C++ 函数指针 实现 函数名字符串 到 函数调用 cmath.h
- [C++STDlib基础]关于数学函数的介绍——C++标准库头文件<cmath>
- C++库常用函数一览(<string><cctype><algorithm><cmath><cstdlib><iomanip><numeric>)
- C++库常用函数一览(<string><cctype><algorithm><cmath><cstdlib><iomanip><numeric>)
- C++库常用函数一览 :<string> <cctype> <algorithm> <cmath> <cstdlib> <iomanip> <numeric>
- C++库常用函数一览(<string><cctype><algorithm><cmath><cstdlib><iomanip><numeric>)
- 图解:关注“医改”人群的大数据分析
- test2222
- 录音设置选项
- dsfsdfgsdfgsdf
- 自动固定顶部的悬浮菜单栏代码
- Cmath函数
- 深度机器学习未来将怎样改变人类生活
- 一个绚丽的loading动效分析与实现!
- error LNK2001: unresolved external symbol __imp__g_rgSCardT0Pci
- scrollview+pagecontrol实现滑动界面
- IOS学习之Cocoapods使用
- linux 使用FIO测试磁盘iops
- java调用IP138获取本机IP以及通过IP地址获取区域名称
- treeset源码导读