我的程序通过编译但结果floating point error
来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/27 23:28:59
我的程序通过编译但结果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
程序如下:
/* 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
这程序难看懂啊,还是靠自己再加点努力吧!
加油!
加油!
这是我编的求十个数的方差的c程序,可是算不出正确结果(通过编译了),求大神指点其中的错误,
VHDL程序那位帮忙看下我这个程序哪里错了呀,编译的时候,说Error (10517): VHDL type misma
floating point division by
怎么解决floating point division by zero,我在看流星网络电视的时候出现这个问题,就不能连接
lingo error 11,我的lingo程序运行有错
Invalid floating point operation是什么意思?
二级C++下列程序中有三个错误,使程序的输出结果为The point is(0,1) The point is(3,5)
用VC++6编译一个C程序,这个程序的主函数调用了自己定义的一个函数,但运行时并没有执行这个函数,怎么回
给定一个算术表达式,通过程序求出最后的结果.
32位浮点数的读取For a floating point value of 3.14159,the encoded 3
能不能简单地解释下计算机程序的编译过程?
invalid floating point operation啥意思?