The LLM is not doing anything other than arithmetic calculations. Every operation an LLM is doing can be done with a calculator.
You don't? Didn't you do them in school? Everyone calls that arithmetic's, you are just adding up and multiplying a bunch of numbers.