Closed librasteve closed 5 months ago
On this page - https://docs.raku.org/routine/polymod
These examples:
say ⅔.polymod(⅓); # OUTPUT: «(0 2)» say 5.Rat.polymod(.3, .2); # OUTPUT: «(0.2 0 80)»
Do not match the signature of the Int variant of the method polymod: method polymod(Int:D: +@mods)
method polymod(Int:D: +@mods)
However they do match the signature of the Real variant: method polymod(Real:D: +@mods)
method polymod(Real:D: +@mods)
Therefore I propose that these examples are moved from tthe Int section to the Real section
Problem or new feature
On this page - https://docs.raku.org/routine/polymod
These examples:
Do not match the signature of the Int variant of the method polymod:
method polymod(Int:D: +@mods)
Suggestions
However they do match the signature of the Real variant:
method polymod(Real:D: +@mods)
Therefore I propose that these examples are moved from tthe Int section to the Real section