我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/28 09:29:10
![我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include](/uploads/image/z/15016377-57-7.jpg?t=%E6%88%91%E7%9A%84%E7%A8%8B%E5%BA%8F%E9%80%9A%E8%BF%87%E7%BC%96%E8%AF%91%E4%BD%86%E7%BB%93%E6%9E%9Cfloating+point+error%E7%A8%8B%E5%BA%8F%E5%A6%82%E4%B8%8B%3A%2F%2A+Note%3AYour+choice+is+C+IDE+%2A%2F%23include+%22graphics.h%22%23include+%22extf.c%22%23include+%22subk.c%22%23include+%22subf.c%22%23include+%22draw.c%22main%28%29%7Bstatic+double+p%5B20%5D%5B2%5D%2Cvp%5B20%5D%5B2%5D%2Cap%5B20%5D%5B2%5D%2Cdel%3Bstatic+dou)
我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
我的程序通过编译但结果floating point error
程序如下:
/* Note:Your choice is C IDE */
#include "graphics.h"
#include "extf.c"
#include "subk.c"
#include "subf.c"
#include "draw.c"
main()
{
static double p[20][2],vp[20][2],ap[20][2],del;
static double t[10],w[10],e[10],tbdraw[370],tb1draw[370];
static double fr[20][2],fe[20][2];
static int ic;
double r12,r34,r24,r35;
static double fk,pk,tb;
double r2,vr2,ar2,r3,vr3,ar3;
int i;
double pi,dr;
static double fr1,bt1,fr2,bt2,we1,we2,we3,we4,we5,tb1;
FILE *fp;
for(i=0;i
我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
这程序难看懂啊,还是靠自己再加点努力吧!
加油!