Skip to content

Conversation

@rocky
Copy link
Member

@rocky rocky commented Jan 24, 2021

  • Split off constants to its own section/file
  • Simplify, DRY, and regularize methods
  • Add setting Settings`$PreferredBackendMethod to influence how to compute various constants.

Blacken some code.

TODO: Add Method option to N[]

@rocky rocky marked this pull request as draft January 24, 2021 10:56
@rocky rocky marked this pull request as ready for review January 25, 2021 00:34
rocky added 4 commits January 24, 2021 19:47
This is in preparation for constant expansion and handling
new settign Settings`$PreferredBackendMethod

blacken some buffers too.
* Split off segratage Mathemathical constants to its own file.
* Add Settings`$PreferredBackendMethod do indicate which kind of constant
is preferred.
when precision not not specified or None. Otherwise use PrecsionReal
apply_n() DRY'd
Glasher, and Khinchin constants added
@rocky rocky force-pushed the backend-constants branch from addcbc7 to e995426 Compare January 25, 2021 00:48
@rocky rocky requested review from GarkGarcia and mmatera January 25, 2021 23:21
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

manipulate, quantities, numbertheory, numeric, options, patterns,
plot, physchemdata, randomnumbers, recurrence, specialfunctions, scoping,
strings, structure, system, tensors, xmlformat, optimization)
algebra,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we could DRY this using the list modules we define a few lines below...

@rocky
Copy link
Member Author

rocky commented Jan 26, 2021 via email

@rocky rocky merged commit 1bd8460 into master Jan 27, 2021
@rocky rocky deleted the backend-constants branch February 7, 2021 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants