From c56faf2aae4ab4918878f0c2c6d063f287660f96 Mon Sep 17 00:00:00 2001 From: Eric Forste Date: Sat, 29 Nov 2025 14:04:05 -0600 Subject: [PATCH 1/2] removing method conf from Numeric per discussion in issue 3782 --- doc/Type/Numeric.rakudoc | 7 ------- 1 file changed, 7 deletions(-) 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:) From 98dbeeaa31112aae2135648aeeb7ce26023a27bc Mon Sep 17 00:00:00 2001 From: Eric Forste Date: Sat, 29 Nov 2025 19:01:35 -0600 Subject: [PATCH 2/2] make example for method conj more relevant to Cool --- doc/Type/Cool.rakudoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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