Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   How To create Larger Data type in C (http://www.go4expert.com/forums/create-larger-data-type-c-t6101/)

jayaraj_ev 29Aug2007 19:18

How To create Larger Data type in C
 
Hi,
Can you create a data type in "C" were we can store 20 bytes and perform simple arithmentic operations like +, -

for example

New_Type A, B, C;
A = 0xFFFFFFFFFFFFFFFFFFFFFFFFFF;
B = 0xFFFFFFFFFFFFFFFFFFFFFFFFFF000;
C = A + B;

Thanks in advance

DaWei 29Aug2007 20:43

Re: How To create Larger Data type in C
 
Check out a bignum library.


All times are GMT +5.5. The time now is 11:00.