I think (I have never tried so don't really know it) it's possible. However there are some important things to consider - most calculations are floating point operations, so you either need FP code, or find a way to use integer operations with enough precision.
Next, depending on what you...