R
Raghu
Hello all,
I need your help on how to redefine teh function of arithmetic operators in
C.
for example : if there is an equation c = a/b;
i want to execute my own algorithm for division operator.
I am compelled to use the native C , instead of calling functions or using
macros for doing arithmetic operations.
I mean i was compelled not to use c =MYDIV(a,b) or somewthing like that.
This i needeed to simulate floating point unit of MPC5554 on PC.In MPC the
way the rounding , overflow,errors dealt is different from those used in P4
or AMD.
so i need to simulate the floating point arithmetic of MPC5554 , when i want
to simualte the code designed for it.
I hope i could able express my question clearly.
Your help and advice is sought after at the earliest.
Thanks and Best Regards
Raghu.
I need your help on how to redefine teh function of arithmetic operators in
C.
for example : if there is an equation c = a/b;
i want to execute my own algorithm for division operator.
I am compelled to use the native C , instead of calling functions or using
macros for doing arithmetic operations.
I mean i was compelled not to use c =MYDIV(a,b) or somewthing like that.
This i needeed to simulate floating point unit of MPC5554 on PC.In MPC the
way the rounding , overflow,errors dealt is different from those used in P4
or AMD.
so i need to simulate the floating point arithmetic of MPC5554 , when i want
to simualte the code designed for it.
I hope i could able express my question clearly.
Your help and advice is sought after at the earliest.
Thanks and Best Regards
Raghu.