bignum in emacs/elisp

ぃ、小莉子 提交于 2019-12-01 14:18:44

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/1371638/bignum-in-emacs-elisp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!