diff options
author | Marcus Stollsteimer <sto.mar@web.de> | 2019-12-27 20:19:37 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-06 20:55:22 +0900 |
commit | baaf6815704ef36160e45244b844b633ed51c3b4 (patch) | |
tree | 85d3266541a90d5fb7e6ba48cb0000df97bbe27a /regerror.c | |
parent | e92fbaf6090fbc60081654cb36da47fc352000ce (diff) | |
download | ruby-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