Need help on FPU division/Multiplication
Halesh S
halesh.s@gmail.com
Mon Feb 9 12:24:00 GMT 2009
Hi,
I wrote a small code to perform FPU division and multiplication. & I
have attached the same.
The output is as follows
$./test
1.000000
81.000000
1.000000
nan
Why the last o/p is giving NAN? Please let me the answer, why its
failing to return the proper product.
If any problem in my code please let me know.
Thanks,
Halesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 1155 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090209/f441d361/attachment.bin>
More information about the Gcc-help
mailing list