- 1、本文档共17页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
c语言库函数(国外英语资料)
c语言库函数(国外英语资料)
最佳答案
int isalpha (int ch) 若ch是字母 (a - z, a - z) 返回非0值, 否则返回0
int isalnum (int ch) 若ch是字母 (a - z, a - z) 或数字 (0 - 9)
返回非0值, 否则返回0
int isascii (int ch) 若ch是字符 (ascii码中的0 - 127) 返回非0值, 否则返回0
int iscntrl (int ch) 若ch是作废字符 (0x7f) 或普通控制字符 (0x00 - 0x1f)
返回非0值, 否则返回0
int isdigit (int ch) 若ch是数字 (0 - 9) 返回非0值, 否则返回0
int isgraph (int ch) 若ch是可打印字符 (不含空格) (0x21 - 0x7e) 返回非0值, 否则返回0
int islower (int ch) 若ch是小写字母 (a - z) 返回非0值, 否则返回0
int isprint (int ch) 若ch是可打印字符 (含空格) (0x20 - 0x7e) 返回非0值, 否则返回0
int ispunct (int ch) 若ch是标点字符 (0x00 - 0x1f) 返回非0值, 否则返回0
int isspace (int ch) 若ch是空格 (), 水平制表符 (in it), 回车符 (% r)
走纸换行 (in f), 垂直制表符 (v), 换行符 (\ n)
返回非0值, 否则返回0
int isupper (int ch) 若ch是大写字母 (a - z) 返回非0值, 否则返回0
int isxdigit (int ch) 若ch是16进制数 (0 - 9, a f , a - f) 返回非0值,
否则返回0
int tolower (int ch) 若ch是大写字母 (a - z) 返回相应的小写字母 (a - z)
int toupper (int ch) 若ch是小写字母 (a - z) 返回相应的大写字母 (a - z)
= = = = = = = = 数学函数 (原型声明所在头文件为math.h、stdlib.h、string.h、float.h) = = = = = = = = = = =
int abs (int i) 返回整型参数i的绝对值
double cabs (struct complex 返回复数znum的绝对值 znum)
double fabs (double x) 返回双精度参数x的绝对值
long labs (long n) 返回长整型参数n的绝对值
double exp (double x) 返回指数函数ex的值
double frexp (double value, int * eptr) 返回value = x * 2n中x的值, n存贮在eptr中
double ldexp (double value, int exp); 返回value * 2exp的值
double log (double x) 返回logex的值
double log10 (double x) 返回log10x的值
double pow (double x, double y) 返回xy的值
double pow10 返回10p的值 (int p)
double sqrt (double x) 返回x的开方
double acos (double x) 返回x的反余弦cos - 1 (x) 值, x为弧度
double asin (double x) 返回x的反正弦sin - 1 (x) 值, x为弧度
double atan (double x) 返回x的反正切tan - 1 (x) 值, x为弧度
double atan2 (double y, double x) 返回y / x的反正切tan - 1 (x) 值, y的x为弧度
double cos (double x) 返回x的余弦cos (x) 值, x为弧度
double sin (double x) 返回x的正弦sin (x) 值, x为弧度
double tan (double x) 返回x的正切tan (x) 值, x为弧度
double cosh (double x) 返回x的双曲余弦cosh (x) 值, x为弧度
double sinh (double x) 返回x的双曲正弦sinh (x) 值, x为弧度
double tanh (double x) 返回x的双曲正切tanh (x) 值, x为弧度
double hypot (double x, double y) 返回直角三角形斜边的长度 (z),
x和y
您可能关注的文档
- 7.4镶嵌(国外英语资料).doc
- 556-采购需求(国外英语资料).doc
- 7.1与三角形有关的线段(国外英语资料).doc
- 7.5__C++调用外部应用程序的方法的整理总结(国外英语资料).doc
- 75·8,驻马店人30年不醒的噩梦(国外英语资料).doc
- 70后老妈,带着三岁宝宝一起创业(国外英语资料).doc
- 7难忘的旅行 普通话资料(国外英语资料).doc
- 6秒钟分辨真假钻石(国外英语资料).doc
- 80后小夫妻必看-熟手在行装修验房七大细节(国外英语资料).doc
- 80后10大心理问题(国外英语资料).doc
- 第十一章 电流和电路专题特训二 实物图与电路图的互画 教学设计 2024-2025学年鲁科版物理九年级上册.docx
- 人教版七年级上册信息技术6.3加工音频素材 教学设计.docx
- 5.1自然地理环境的整体性 说课教案 (1).docx
- 4.1 夯实法治基础 教学设计-2023-2024学年统编版九年级道德与法治上册.docx
- 3.1 光的色彩 颜色 电子教案 2023-2024学年苏科版为了八年级上学期.docx
- 小学体育与健康 四年级下册健康教育 教案.docx
- 2024-2025学年初中数学九年级下册北京课改版(2024)教学设计合集.docx
- 2024-2025学年初中科学七年级下册浙教版(2024)教学设计合集.docx
- 2024-2025学年小学信息技术(信息科技)六年级下册浙摄影版(2013)教学设计合集.docx
- 2024-2025学年小学美术二年级下册人美版(常锐伦、欧京海)教学设计合集.docx
文档评论(0)