diff --git a/doc/Type/Cool.rakudoc b/doc/Type/Cool.rakudoc index 989095e40..c40a18726 100644 --- a/doc/Type/Cool.rakudoc +++ b/doc/Type/Cool.rakudoc @@ -140,7 +140,7 @@ Coerces the invocant to L|/type/Numeric> and returns the L|/type/Complex> conjugate (that is, the number with the sign of the imaginary part negated). - say (1+2i).conj; # OUTPUT: «1-2i␤» + say "1+2i".conj; # OUTPUT: «1-2i␤» =head2 method EVAL diff --git a/doc/Type/Numeric.rakudoc b/doc/Type/Numeric.rakudoc index 67c970e8e..b99181fae 100644 --- a/doc/Type/Numeric.rakudoc +++ b/doc/Type/Numeric.rakudoc @@ -124,13 +124,6 @@ As of 6.e language version (early implementation exists in Rakudo compiler 2023.02+), B return a L|/type/Complex> value for negative arguments. -=head2 method conj - - multi method conj(Numeric:D --> Numeric:D) - -Returns the complex conjugate of the number. Returns the number itself for -real numbers. - =head2 method Bool multi method Bool(Numeric:D:)