[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Request to help in modify the Division arithmetic operations
From: |
Ravindra D. Noubade |
Subject: |
Request to help in modify the Division arithmetic operations |
Date: |
Wed, 29 May 2002 17:41:15 +0530 |
hi,
I would like to introduce myself , Ravindra working in GCC GNU compiler
for the past 7 years. Now in one of my projects, I require finite result for
the Division Arithmetic operation, though the divisor is ZERO. I am using
gcc version 3.1, in which I would like to add patch in the Division
arithmetic function. (i.e)If the divisor is ZERO, it should return the
maximum value for that particular platform. Right now I am working in Sun
Solaris (ver 2.1) platform.. Can u please help me in this regard, which
library function needs to be modified. I had tried this in libgcc2.c module,
but I could n't succeed. I would appreciate if I get a favor and fast
response.
Expecting your response... how to add my requirements in the Gnu
compiler...
Note:
In the existing gcc ver 3.1 it returns "Arithmetic Exception(core dumped)"
for Integer division and "Inf" for float division, if the divisor is Zero.
Regards,
Ravindra D. Noubade
Project Coordinator
CG-Smith Software Private Limited,
1A, Kushal Garden Arcade,
Peenya Industrial Area, II Phase
Bangalore- 560058,
voice: +91808391663 Ext 208.
mail: ravindra@cgs.cgsmith.soft.net
www.cg-smith.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Request to help in modify the Division arithmetic operations,
Ravindra D. Noubade <=