summaryrefslogtreecommitdiff
path: root/regerror.c
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-12-27 20:19:37 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-06 20:55:22 +0900
commitbaaf6815704ef36160e45244b844b633ed51c3b4 (patch)
tree85d3266541a90d5fb7e6ba48cb0000df97bbe27a /regerror.c
parente92fbaf6090fbc60081654cb36da47fc352000ce (diff)
downloadruby-baaf6815704ef36160e45244b844b633ed51c3b4.tar.gz
Improve docs for Prime.{prime_division,int_from_prime_division} (#8)
Move explanation for the decomposition array from the Example section to the method description. Mention the term "multiplicity". Use examples that also demonstrate factors with multiplicity other than 1, and avoid factors/multiplicities with the same value. Also add the decomposition written as simple mathematical expression. This also fixes missing syntax highlighting for the code examples due to verbatim blocks that did not only include Ruby code.
Diffstat (limited to 'regerror.c')
0 files changed, 0 insertions, 0 deletions