Skip to content

Conversation

@ferdymercury
Copy link
Collaborator

@ferdymercury ferdymercury commented Apr 1, 2025

Revert part of recent changes (#18194) since it breaks backward compatibility as the function was virtual.

Fixes #18214

thanks guitargeek for finding out

This Pull request:

Changes or fixes:

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

Since it breaks backward compatibility

Fixes root-project#18214

thanks guitargeek for finding out
@ferdymercury ferdymercury requested a review from lmoneta as a code owner April 1, 2025 08:17
@ferdymercury ferdymercury requested a review from guitargeek April 1, 2025 08:18
@github-actions
Copy link

github-actions bot commented Apr 1, 2025

Test Results

    18 files      18 suites   5d 0h 24m 2s ⏱️
 2 737 tests  2 736 ✅ 0 💤 1 ❌
47 623 runs  47 622 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit e814ac6.

@ferdymercury ferdymercury requested a review from dpiparo April 1, 2025 12:57
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

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

Thank you very much for the quick fixup!

@guitargeek guitargeek merged commit 60e5327 into root-project:master Apr 1, 2025
19 of 23 checks passed
@ferdymercury ferdymercury deleted the fix_v5prec branch April 1, 2025 16:47
guitargeek added a commit to guitargeek/root that referenced this pull request Aug 24, 2025
In root-project#18194, an optional parameter to `TFormula::GetExpFormula()` was
introduced, which can be used to customize the precision when putting
parameters into the jitted code.

However, I don't see the reason why wouldn't like to always print the
floating point numbers with maximum precision, which is suggested in
this commit.

This is achieved using modern C++ functions, which are also not
respecting the users locale setting, but instead use the classic C
locale by default, which is what we need when generating code.

Follows up on root-project#18194 (and its partial revert root-project#18216).

Closes root-project#17225.

Replaces root-project#17327.
guitargeek added a commit that referenced this pull request Aug 26, 2025
In #18194, an optional parameter to `TFormula::GetExpFormula()` was
introduced, which can be used to customize the precision when putting
parameters into the jitted code.

However, I don't see the reason why wouldn't like to always print the
floating point numbers with maximum precision, which is suggested in
this commit.

This is achieved using modern C++ functions, which are also not
respecting the users locale setting, but instead use the classic C
locale by default, which is what we need when generating code.

Follows up on #18194 (and its partial revert #18216).

Closes #17225.

Replaces #17327.
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.

Project based on (Py)ROOT fails with loading ROOT::v5::TFormula::GetExpFormula(char const*) const

2 participants