you mean we need to simulate the "Math co-processor". Thanks Shiro.
But i require some infor on how to perform floating point operations. I figured it out that, there are some functions in C which...
Type: Posts; User: vaspro
you mean we need to simulate the "Math co-processor". Thanks Shiro.
But i require some infor on how to perform floating point operations. I figured it out that, there are some functions in C which...
try Borland.com they are giving their TurboC 2.01(IDE) for free from thier Musuem.
You can also download Borland C++ 5.5(BCC55) compiler (command line) for free. This can compile for win32 also.
U need to have Microsoft's performance monitor API for this. Try searching for the performance monitor API in MSDN.
As per my knowledge, you will get these API's in windows2000 resource pack...
Use sprintf(); send the output to "stdprn"
eg. char s[]="hello world";
sprintf(stdprn,s);
--vaspro
i think "ihsir" is missing "endl;"
if
s=x+y;
both x and y are to be the maximum possible floating point numbers on your system.
As per my knowledge it is not possible with simple arthimetic operators. We need to use some...
Set all i,o registers to 0 and call dosx86() with those IO values.
where i,o are unions. (union REGS i,o)
--vaspro
the numbers to be added are upto the maximum floating point number. Not the final sum :-).
Vaspro
Hi,
I am searching for the solution of following question:
" Write a program in 'C' language to add very large floating-point numbers. The floating point number may be equal to maximum...