iOS 常用函数方法
来源:互联网 发布:recyclerview优化 编辑:程序博客网 时间:2024/06/06 09:57
rand() —-随机数
abs() / labs() —-整数绝对值
fabs() / fabsf() / fabsl() —-浮点数绝对值
floor() / floorf() / floorl() —-向下取整
ceil() / ceilf() / ceill() —-向上取整
round() / roundf() / roundl() —-四舍五入
sqrt() / sqrtf() / sqrtl() —-求平方根
fmax() / fmaxf() / fmaxl() —-求最大值
fmin() / fminf() / fminl() —-求最小值
hypot() / hypotf() / hypotl() —-求直角三角形斜边的长度
fmod() / fmodf() / fmodl() —-求两数整除后的余数
modf() / modff() / modfl() —-浮点数分解为整数和小数
frexp() / frexpf() / frexpl() —-浮点数分解尾数和二为底的指数
sin() / sinf() / sinl() —-求正弦值
sinh() / sinhf() / sinhl() —-求双曲正弦值
cos() / cosf() / cosl() —-求余弦值
cosh() / coshf() / coshl() —-求双曲余弦值
tan() / tanf() / tanl() —-求正切值
tanh() / tanhf() / tanhl() —-求双曲正切值
asin() / asinf() / asinl() —-求反正弦值
asinh() / asinhf() / asinhl() —-求反双曲正弦值
acos() / acosf() / acosl() —-求反余弦值
acosh() / acoshf() / acoshl() —-求反双曲余弦值
atan() / atanf() / atanl() —-求反正切值
atan2() / atan2f() / atan2l() —-求坐标值的反正切值
atanh() / atanhf() / atanhl() —-求反双曲正切值
原文链接:http://www.jianshu.com/p/0ca725ecf7f7
- iOS 常用函数方法
- iOS基础知识:C语言字符串及常用方法和函数
- iOS中常用不可变字符串函数方法
- iOS 常用数学函数
- iOS 常用数学函数
- iOS 常用数学函数
- iOS 常用数学函数
- IOS开发常用函数
- iOS 常用数学函数
- IOS开发常用函数
- IOS开发常用函数
- iOS 常用函数
- iOS开发常用函数
- iOS 常用数学函数
- IOS开发常用函数
- iOS 常用数学函数
- iOS 常用数学函数
- iOS 常用的函数
- Hdu5893树链剖分(2016沈阳网络赛B)
- 腾讯2017暑期实习生编程题之我见
- 标注 @JsonInclude(Include.NON_NULL)
- 改变系统的UIAlert的字体色彩
- Window和WindowManager
- iOS 常用函数方法
- C++/Matlab混合编程(vs2010和matlabR2014a)
- hibernate级联关系思考
- 并行编程(2):Task
- 3389连接超时设置
- 获得网络状态和实时监控网络状态改变
- VS2015中搭建lua环境
- 全屏页面往下往上滚动切换页面
- iOS 学习笔记 Quartz2D绘图