diff options
author | Sebastian Pop <s.pop@samsung.com> | 2019-04-01 15:05:53 -0500 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2019-04-04 10:13:26 +0200 |
commit | 098f73a45e1e346b7634b6caa15675095f764dfc (patch) | |
tree | 515a8da69d4f9776e65668580ff1bb31ab51dde1 /adler32_p.h | |
parent | 3ac4f5de069564698c263097996669e6153286f3 (diff) |
cleanup arm/adler32_neon.c code
Diffstat (limited to 'adler32_p.h')
-rw-r--r-- | adler32_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/adler32_p.h b/adler32_p.h index 131513a..6766530 100644 --- a/adler32_p.h +++ b/adler32_p.h @@ -9,6 +9,8 @@ #define ADLER32_P_H #define BASE 65521U /* largest prime smaller than 65536 */ +#define NMAX 5552 +/* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ /* use NO_DIVIDE if your processor does not do division in hardware -- try it both ways to see which is faster */ |