The programs written for the weapons are the only item run on the computers for a reason. The code is trusted and audited which is way more important than new and flashy. Changing or updating the underlying OS or code requires a new audit and verification.
The calculations can be done longhand for verification.
Read the rainbow series for more info if they are still in existence.