Fast exponentiation using the truncation operation (Q2366170)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Fast exponentiation using the truncation operation |
scientific article |
Statements
Fast exponentiation using the truncation operation (English)
0 references
29 June 1993
0 references
A tight bound of \(\Theta(\sqrt k)\) time required to compute \(2^{2^ k}\) is proved for the inputs: integer \(k\) and arbitrary integer greater than \(2^{2^ k}\), the operations \(+,-,*,/,\lfloor\cdot\rfloor,\leq\) and constants \(\{0,1\}\). It is applied to the algorithms: (1) for computing \(\lfloor\log\log a\rfloor\) for all \(n\)-bit integers \(a\), in \(O(\sqrt{\log n})\) time and (2) for deciding whether an integer \(a\) in some range \([2^{2^ k},2^{2^ k+1}]\) is a perfect square in \(O(\sqrt{\log\log a})\) time.
0 references
complexity
0 references
fast exponentiation
0 references
truncation operation
0 references
exponential function
0 references