bignum in emacs/elisp

后端 未结 2 1280
感动是毒
感动是毒 2021-01-17 11:57

Does emacs have support for big numbers that don\'t fit in integers? If it does, how do I use them?

2条回答
  •  旧时难觅i
    2021-01-17 12:29

    Emacs Lispers frustrated by Emacs’s lack of bignum handling: calc.el provides very good bignum capabilities.—EmacsWiki

    calc.el is part of the GNU Emacs distribution. See its source code for available functions. You can immediately start playing with it by typing M-x quick-calc. You may also want to check bigint.el package, that is a non-standard, lightweight implementation for handling bignums.

提交回复
热议问题