[Chapel Merge] Argument names changed/optimised

Branch: refs/heads/main
Revision: c9c2e74
Author: lydia-duncan
Link: Argument names changed/optimised by tiger-yash · Pull Request #18784 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18784 from tiger-yash/tiger

Argument names changed/optimised
[contributed by @tiger-yash, reviewed by Lydia

This PR closes #17727

Description

  • Changed the variables names
  • Added the required Deprecation Warning tests.

Additionally this PR Partly Fixes #17701

Description

  • Changed the method names
  • Updated the required Deprecation Warnings and tests.

Methods changed:

  • bigint.divexact()
  • bigint.divisible_p()
  • bigint.divisible_2exp_p()
  • bigint.congruent_p()
  • bigint.congruent_2exp_p()

Passed a full paratest with futures, double checked the built docs

Modified Files:
A test/deprecated/BigInteger/deprecateCongruent2expP.chpl

A test/deprecated/BigInteger/deprecateCongruent2expP.good
A test/deprecated/BigInteger/deprecateCongruentP.chpl
A test/deprecated/BigInteger/deprecateCongruentP.good
A test/deprecated/BigInteger/deprecateDivexact.chpl
A test/deprecated/BigInteger/deprecateDivexact.good
A test/deprecated/BigInteger/deprecateDivisible2expP.chpl
A test/deprecated/BigInteger/deprecateDivisible2expP.good
A test/deprecated/BigInteger/deprecateDivisibleP.chpl
A test/deprecated/BigInteger/deprecateDivisibleP.good
M modules/standard/BigInteger.chpl
M test/library/standard/GMP/congruence.chpl
M test/library/standard/GMP/ldelaney/gmp_Bigint_division.chpl
M test/library/standard/GMP/ldelaney/gmp_Bigint_division.good

Compare: https://github.com/chapel-lang/chapel/compare/e858449fc13c...c9c2e74adbf1