Adler32Checksum
As documented in the [[http://en.wikipedia.org/wiki/Adler-32 | Adler-32 Wikipedia article]]. {{{ awk . . . There's a case to be made that replacing these # modulus operations with a test-and-substract # method . . .
4K - last updated 2008-12-31 12:05 UTC by pgas
arithmetic
The [[awk]] programming language provides a set of [[dyadic]] arithmetic operators for performing basic . . . | [[multiplication]] | !/ | [[division]] | % | [[modulus]] {{{ awk print 6 + 3 # addition print 8 - . . . print 10 / 4 # division print 10 % 4 # modulus }}} == The awk programming language does not . . .
1K - last updated 2011-05-24 22:16 UTC by markhobley
AwkDc
This is an awk implementation of the [http://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html|dc] . . . error message here } } function _dc_modx(stk, modulus, exponent, base) { # GNU extension! showop("modx") . . . modulus = _dc_pop(stk) exponent = _dc_pop(stk) base . . . _dc_isnum(exponent) && _dc_isnum(modulus)) { # FIXME: add checks to ensure that exponent . . . and modulus are # integer values! (is that worth doing . . .
12K - last updated 2008-07-17 14:47 UTC by gnomon
AwkGuide
** Work in Progress ** {{{ import from Mark Hobley's wiki }}} <toc> ---- == Overview * [[Overview]] . . . * [[mathematical function]]s * [[mistake]]s * [[modulus]] operator * [[multiline]] records * [[multiplication]] . . .
4K - last updated 2011-08-14 15:57 UTC by markhobley
compound assignment operator
The *compound assignment operators* (also called *combination assignment operators*) provide a more concise . . . [[multiplication]] | !/= | [[division]] | %= | [[modulus]] === Operator precedence === Care should be . . .
2K - last updated 2011-03-27 09:46 UTC by markhobley
modulus
The [[dyadic]] modulus [[operator]], represented by a [[percent]] sign is used to return the remainder . . . of 15 divided by 4) == Negative Numbers == The modulus operator may be used with negative numbers: . . . print -13 % 7 # -6 == Modulus Combination Assignment Operator == The modulus . . . by a dragster, can also be used to determine the modulus of a division calculation: value %= 3 # value . . .
1K - last updated 2011-06-07 00:41 UTC by markhobley
symbol
| *Symbol* | *Name* | *Purpose* | !! | [[pling]] | logical NOT | " | [[doublequote]] | | # | [[hash]] . . . | exponent compound assignment operator | %= | modulus compound assignment operator == Enclosures . . .
2K - last updated 2013-02-19 14:26 UTC by markhobley
7 pages found.