Commit 9d4425e
committed
[hist] Always use maximum floating point precision in
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.GetExpFormula
1 parent 3b55581 commit 9d4425e
File tree
3 files changed
+27
-17
lines changed- hist/hist
- inc
- src
- test
3 files changed
+27
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
| 29 | + | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
2341 | 2354 | | |
2342 | 2355 | | |
2343 | 2356 | | |
2344 | | - | |
2345 | | - | |
| 2357 | + | |
2346 | 2358 | | |
2347 | 2359 | | |
2348 | 2360 | | |
| |||
3606 | 3618 | | |
3607 | 3619 | | |
3608 | 3620 | | |
3609 | | - | |
3610 | | - | |
3611 | | - | |
3612 | | - | |
3613 | 3621 | | |
3614 | | - | |
| 3622 | + | |
3615 | 3623 | | |
3616 | 3624 | | |
3617 | 3625 | | |
| |||
3647 | 3655 | | |
3648 | 3656 | | |
3649 | 3657 | | |
3650 | | - | |
3651 | | - | |
3652 | | - | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
3653 | 3662 | | |
3654 | 3663 | | |
3655 | 3664 | | |
| |||
3669 | 3678 | | |
3670 | 3679 | | |
3671 | 3680 | | |
3672 | | - | |
3673 | | - | |
3674 | | - | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
3675 | 3685 | | |
3676 | 3686 | | |
3677 | 3687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments