Branch: refs/heads/main
Revision: 6425818
Author: lydia-duncan
Link: Deprecate bigint.get_d_2exp and replace it with bigint.getD2Exp by lydia-duncan · Pull Request #19428 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19428 from lydia-duncan/adjustGetd2exp
Deprecate bigint.get_d_2exp and replace it with bigint.getD2Exp
[reviewed by @bmcdonald3]
This new method conforms to our naming practices and returns the information
requested in the same order as the method name implies (and as the pieces would
be used when trying to recreate the original number).
Adds documentation for the new method.
Resolves #17696
No tests existed of bigint.get_d_2exp
, so add a test of the new name to avoid
unnoticed regressions. Also add a test of the deprecation warning for the old name.
Passed a full paratest with futures. Double checked the built documentation.
Modified Files:
A test/deprecated/BigInteger/deprecateGetd2exp.chpl
A test/deprecated/BigInteger/deprecateGetd2exp.good
A test/library/standard/BigInteger/getD2Exp.chpl
A test/library/standard/BigInteger/getD2Exp.good
M modules/standard/BigInteger.chpl
Compare: https://github.com/chapel-lang/chapel/compare/3f44e6339697...64258189c042