mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.11.0t10
This commit is contained in:
@@ -13,10 +13,10 @@ TYPES
|
||||
DESCRIPTION
|
||||
Let B be the base calc uses for representing integers internally
|
||||
(B = 2^16 for 32-bit machines, 2^32 for 64-bit machines) and N the
|
||||
number of words (base-B digits) in the representation of m. Then
|
||||
number of words (base-B digits) in the representation of m. Then
|
||||
rcout(x,m) returns the value of B^-N * x % m, where the inverse
|
||||
implicit in B^-N is modulo m and the modulus operator % gives the
|
||||
least non-negative residue. The functions rcin() and rcout() are
|
||||
least non-negative residue. The functions rcin() and rcout() are
|
||||
inverses of each other for all x:
|
||||
|
||||
rcout(rcin(x,m), m) = rcin(rcout(x,m),m) = x % m.
|
||||
|
Reference in New Issue
Block a user