-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get exact values of constants from ROOT #18
Comments
You mean the constants in |
Note that we have constants defined in scikit-hep, which we do want to use throughout the Scikit-HEP project for consistency ... |
These constants are only used for compatibility with TFormula style expressions as numexpr doesn't have an equivalent. See I see 4 options for how to interpret a constant from ROOT, for example using
(2)/(3) have the benefit that we exactly mirror ROOT's behaviour instead of assuming users just want the best possible value, and (3)/(4) would be simpler as it would allow me to remove the special named constants, at the cost making the result of I'm inclined to use (2), in part due to the comments of @jpivarski:
but I'm open to hearing other opinions. |
Hmm, you need to have consistency across the board. No other way possible. So if I start with a ROOT expression that explicitly uses |
No description provided.
The text was updated successfully, but these errors were encountered: