数学函数笔记
来源:互联网 发布:电气画图软件visio 编辑:程序博客网 时间:2024/06/06 18:54
原型:extern float modf(float num, float *i); 用法:#include <math.h> 功能:将浮点数num分解成整数部分和小数部分。 说明:返回小数部分,将整数部分存入*i所指内存中。 举例:// modf.c #include <syslib.h>#include <math.h>int main(){ float x, i; clrscr(); // clear screen textmode(0x00); // 6 lines per LCD screen x=modf(-74.12,&i); printf("-74.12=%.0f+(%.2f)",i,x); getchar(); return 0;}
http://www.2cto.com/shouce/chssc/math/modf.html
搜索
复制
复制去Google翻译翻译结果
0 0
- 数学函数笔记
- MySQL函数学习笔记一:数学函数
- oracle学习笔记(四)-- 数学函数
- MySQL学习笔记18:数学函数
- Python学习笔记(三)数学函数
- MySQL学习笔记18:数学函数
- Mysql笔记三之 数学函数
- 数学函数
- 数学函数
- 数学函数
- 数学函数
- 数学函数
- 数学 函数
- 数学函数
- 数学函数
- 数学函数
- 数学函数
- 数学函数
- LINK : fatal error LNK1168
- Ubuntu下通过SSH远程登录服务器
- 采用json-lib进行Map与Json转换
- document.createElement()的用法
- 黑马程序员----Java中的数组
- 数学函数笔记
- C++刷题——1923: ASCII码排序
- 醒目
- 关于采购中的PTA——概念如何理解及其计算公式
- linux应用开发-线程
- 开 iPhone USBTunnel 代码片断
- Divide Two Integers
- 发布.ipa到app store 详尽的步骤说明
- 深度学习 vs. 大数据:神经网络权值的版权属于谁?