diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-05-11 18:22:11 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-05-11 18:25:15 +0200 |
| commit | 0703ea9ea4155d59d1356713789c60f5e6e8c7a6 (patch) | |
| tree | 77b55910f77563e4fc2c8ba77351ebaba876d602 /man/zdivmod.3 | |
| parent | Fix typo (diff) | |
| download | libzahl-0703ea9ea4155d59d1356713789c60f5e6e8c7a6.tar.gz libzahl-0703ea9ea4155d59d1356713789c60f5e6e8c7a6.tar.bz2 libzahl-0703ea9ea4155d59d1356713789c60f5e6e8c7a6.tar.xz | |
Always satisfy n=qd+r to avoid confusion
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zdivmod.3')
| -rw-r--r-- | man/zdivmod.3 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/man/zdivmod.3 b/man/zdivmod.3 index d63405a..f0cd9e4 100644 --- a/man/zdivmod.3 +++ b/man/zdivmod.3 @@ -30,34 +30,6 @@ gets Mod .IR divisor . .P -Be aware, -.I remainder -gets -.RI | dividend | -Mod -.RI | divisor |, -this means that it is only guaranteed to be true that -.I dividend -= -.I quotient -⋅ -.I divisor -+ -.IR remainder -if -.I dividend -and -.I divisor -are both non-negative. -It is up to the user, to make the necessary adjustment to -.I remainder -to make this true or to satisfy any desired property. This -exceptional behaviour has been choosen because it is the -simplies, works just fine if you are working with natural -numbers only, and there are two many ways to define -modulus; this one is advantages when you want to make -adjustments, it is straight-forward. -.P It is safe to call .B zdivmod with non-unique parameters, |
