Elisp中定义的pow-mod函数在哪里

Where is the pow-mod function defined in Elisp

我想使用 pow-mod 函数来帮助调用对 'bigpos' 数字执行 mod 元运算。

我在这个 elisp 文档中找到它 website

但是当我调用 pow-mod 时,我什至无法识别它:

(require 'calc)
(require 'calc-ext)
(pow-mod message-encoded e n)

但是无法识别!我很困惑,因为它列在计算 lisp 函数下。所以我假设它是 'calc' 函数的一部分。怎么了?我缺少一些图书馆吗?我试过 `(require 'pow) 但没有成功。

pow-mod在哪里定义的?谢谢!

试试

(math-pow-mod 19 103 89)

(在您链接的文档中,向上一级到 17.5.7 并检查第一段:"These functions are shown by their names as they conventionally appear in defmath. Their full Lisp names are generally gotten by prepending ‘calcFunc-’ or ‘math-’ to their apparent names.")