How is 64-bit math accomplished on a 32-bit machine?

后端 未结 3 589
轻奢々
轻奢々 2020-12-19 04:53

If a 32-bit processor is, indeed, really only 32 bits in length, then how can math operations work on 64-bit numbers? For example:

long lngTemp1 = 1234567891         


        
3条回答
  •  难免孤独
    2020-12-19 05:11

    32 bit instruction set of x86 can be used for 64 bit arithmetic, see Extended Precision Multiplication.

提交回复
热议问题