#include <math.h>
double exp(double x);
#include <math.h>
main(){
double answer;
answer = exp (10);
printf("e^10 =%f\n", answer);
}
e^10 = 22026.465795
#include <math.h>
double ldexp(double x, int exp);
#include <math.h>
main(){
int exp;
double x, answer;
answer = ldexp(3, 2);
printf("3*2^(2) = %f\n", answer);
}
3*2^(2) = 12.000000
#include <math.h>
double frexp(double x, int *exp);
#include <stdio.h> /* printf */
#include <math.h> /* frexp */
int main ()
{
double param, result;
int n;
param = 8.0;
result = frexp (param , &n);
printf ("%f = %f * 2^%d\n", param, result, n);
return 0;
}
8.000000 = 0.500000 * 2^4
242.354000 = 0.946695 * 2^8
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有