4-1 pow( )函数和pow10( )函数:求某数值的幂书名: C语言王者归来 作者名: 洪锦魁 本章字数: 17字 更新时间: 2024-12-27 18:50:31首页 书籍详情 目录 听书 自动阅读00:04:58 摸鱼模式 加入书架 字号 背景 手机阅读 举报 上QQ阅读APP看后续精彩内容 下载QQ阅读APP,第一时间看更新 登录订阅本章...
printf("Ten raised to %lf is %lf\n", p, pow(p, 10));才对
4-1-2 pow10( )函数书名: C语言王者归来 作者名: 洪锦魁 本章字数: 163字 更新时间: 2024-12-27 18:50:32首页 书籍详情 目录 听书 自动阅读00:04:58 摸鱼模式 加入书架 字号 背景 手机阅读 举报 上QQ阅读APP看后续精彩内容 下载QQ阅读APP,第一时间看更新 登录订阅本章 >...
pow10 sin sinh sqrt tan tanh目前共有25个函数pow10原型:extern float pow10(float x); 用法:#include <math.h> 功能:计算10的x次幂。 说明:相当于pow(10.0,x)。 举例: // pow10.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen textmode(0x00); // 6 lines...
函数名: pow10 功能: 指数函数(10的p次方) 用法: #include <math.h> double pow10(int p); 程序例: #include <math.h> #include <stdio.h> int main(void) { double p = 3.0; printf("Ten raised to %lf is %lf\n", p, pow10(p)); return 0; } ...