1、<wbr style="line-height:36px"></wbr>三角函数<wbr style="line-height:36px"></wbr> double sin (double);正弦<wbr style="line-height:36px"></wbr> double cos (double);余弦<wbr style="line-height:36px"></wbr> double tan (double);正切<wbr style="line-height:36px"></wbr> 2 、反三角函数<wbr style="line-height:36px"></wbr> double asin (double); 结果介于[-PI/2, PI/2]<wbr style="line-height:36px"></wbr> double acos (double); 结果介于[0, PI]<wbr style="line-height:36px"></wbr> double atan (double); 反正切(主值), 结果介于[-PI/2, PI/2]<wbr style="line-height:36px"></wbr> double atan2 (double, double); 反正切(整圆值), 结果介于[-PI, PI]<wbr style="line-height:36px"></wbr> 3 、双曲三角函数<wbr style="line-height:36px"></wbr> double sinh (double);<wbr style="line-height:36px"></wbr> double cosh (double);<wbr style="line-height:36px"></wbr> double tanh (double);<wbr style="line-height:36px"></wbr> 4 、指数与对数<wbr style="line-height:36px"></wbr> double exp (double);求取自然数e的幂<wbr style="line-height:36px"></wbr> double sqrt (double);开平方<wbr style="line-height:36px"></wbr> double log (double); 以e为底的对数<wbr style="line-height:36px"></wbr> double log10 (double);以10为底的对数<wbr style="line-height:36px"></wbr> double pow(double x, double y);计算以x为底数的y次幂<wbr style="line-height:36px"></wbr> float powf(float x, float y); 功能与pow一致,只是输入与输出皆为浮点数<wbr style="line-height:36px"></wbr> 5 、取整<wbr style="line-height:36px"></wbr> double ceil (double); 取上整<wbr style="line-height:36px"></wbr> double floor (double); 取下整<wbr style="line-height:36px"></wbr> 6 、绝对值<wbr style="line-height:36px"></wbr> double fabs (double);求绝对值<wbr style="line-height:36px"></wbr> double cabs(struct complex znum) ;求复数的绝对值<wbr style="line-height:36px"></wbr> 7 、标准化浮点数<wbr style="line-height:36px"></wbr> double frexp (double f, int *p); 标准化浮点数, f = x * 2^p, 已知f求x, p ( x介于[0.5,
1] )<wbr style="line-height:36px"></wbr> double ldexp (double x, int p); 与frexp相反, 已知x, p求f<wbr style="line-height:36px"></wbr> 8 、取整与取余<wbr style="line-height:36px"></wbr> double modf (double, double*); 将参数的整数部分通过指针回传,
返回小数部分<wbr style="line-height:36px"></wbr> double fmod (double, double); 返回两参数相除的余数<wbr style="line-height:36px"></wbr> 9 、其他<wbr style="line-height:36px"></wbr> double hypot(double x, double y);已知直角三角形两个直角边长度,求斜边长度<wbr style="line-height:36px"></wbr> double ldexp(double x, int exponent);计算x*(2的exponent次幂)<wbr style="line-height:36px"></wbr> double poly(double x, int degree, double coeffs [] );计算多项式<wbr style="line-height:36px"></wbr> nt matherr(struct exception *e);数学错误计算处理程序
Math.h放在哪里?那个是c的函数库:输入一个数学函数,然后双击这个函数-->右键用jump to definition就可以跳到这个头文件里了-->右键选Show
in Finder,就知道这个头文件在哪里了。
分享到:
相关推荐
IOS 常用 代码 ios开发入门基础 object-c语言训练
ios 开发常用代码ios 开发常用代码
iOS开发常用宏定义 提高代码重用性
iOS开发常用的一些小工具
ios开发常用的第三方类库,大部分的ios开发中都会用到的第三方开源的类库 如数据库操作,xml解析等等,希望对大家有所帮助
整理的一些市面上常见的第三方类库,快速集成可以方便开发,这些都是大家常用的。 里面包含: GTM 各种加密 ASIHttp http请求 KissXml xml解析 json oc版 json cpp版 Reachabiliy 网络状态判断 libcurl c语言静态...
第一部分介绍iOS 开发的常用工具,第二部分介绍iOS开发中的一些常见的实践经验,第三部分介绍iOS 开发中涉及的原理。 如果把成为iOS 开发高手的过程比作武侠小说中的修炼过程的话,工具、实践和理论的学习就分别对应...
iOS开发常用的第三方库,刷新、网络请求、自动适配等等
唐巧的《iOS开发进阶》,希望对一些初级的程序员有用
tableview 刷新数据时 header和footer动画
资源名称:《iOS开发零基础入门教程》(40集)资源目录:【】传智播客《iOS开发零基础入门教程》1.1【】传智播客《iOS开发零基础入门教程》1.2【】传智播客《iOS开发零基础入门教程》1.3【】传智播客《iOS开发零基础...
IOS开发
资源名称:iOS开发视频教程资源目录:【】iOS开发视频教程-第01讲-iOS历史介绍【】iOS开发视频教程-第02讲-XCode安装【】iOS开发视频教程-第03讲-UIView_PPT【】iOS开发视频教程-第04讲-UILabel【】iOS开发视频教程-...
iOS开发 通用Utilities类 工具函数集合
IOS开发
1、资源内容:快速开发ios app,封装了ios开发常用的功能 2、适用人群:计算机,电子信息工程、数学等专业的学习者,作为“参考资料”参考学习使用。 3、解压说明:本资源需要电脑端使用WinRAR、7zip等解压工具进行...
iOS开发常用第三方库,就是平常经常用到的
ios开发流程ios开发流程
精通iOS开发源码下载地址,这个本书简直太棒了,是我买过的性价比最高的一本书。
iOS常用动画