Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-2-0
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.1.1 fastExpt
Procedure from library
aksaka.lib
(see
aksaka_lib
).
Usage:
fastExpt(a,m,n); a, m, n = number;
Return:
the m-th power of a; if a^m>n the procedure returns n+1
Note:
uses fast exponentiation
Example:
LIB "aksaka.lib"; fastExpt(2,10,1022); ==> 1023
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal