Max Power - 2010-11-28

I'm working with the SDCC compiler and the CC2530 chip. For my project, I have to deal with big integer values. Is there any library or anything else, which can handle 40bit integers (signed as well as unsigned)?
I need the basic operations like add, sub, mul, modulo etc.

Thanks in advance