View Issue Details

IDProjectCategoryView StatusLast Update
0033448CommunityOCCT:Modeling Algorithmspublic2026-01-13 19:19
Reporterj.bourgoin Assigned Toj.bourgoin  
PrioritynormalSeveritymajor 
Status resolvedResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.7.1 
Target Version7.8.0 
Summary0033448: Modeling Algorithms - incorrect result in solving 4th degree equations
DescriptionHello,
There are sometimes bad results in
math_DirectPolynomialRoots::Solve(const Standard_Real a, const Standard_Real b, const Standard_Real c, const Standard_Real d, const Standard_Real e)
Steps To ReproduceWe don't get the right results, with values:

a=1.0000000000000004
b=-2.2737367544323211e-13
c=-17361733.368892364
d=28.998342463569099
e=75357446168894.516
Additional information
and documentation updates
The results can be checked with this website:

http://serge.mehl.free.fr/anx/equ4_ferrari.html
TagsNo tags attached.
Test case number

Activities

j.bourgoin

2023-11-17 13:10

reporter   ~0114609

Reminder sent to: dpasukhi

Hi @dpasukhi, did you have time to check this issue ? Thanks !

dpasukhi

2023-11-17 13:20

administrator   ~0114610

@j.bourgoin
Not yet. It is still on to-do list.

j.bourgoin

2024-12-05 16:28

reporter   ~0116893

Hi, is there any update for this issue please ?

dpasukhi

2025-09-09 18:48

administrator   ~0117083

The results with current numbers are valid.
The difference are only order of roots, which is on your site have specific post-ordering..

dpasukhi

2025-09-09 23:19

administrator   ~0117084

Oh, on MacOS it is perfect, other OS are broken. Sorry, yes, I can see broken results for that case.

dpasukhi

2026-01-13 19:19

administrator   ~0117112

Merged into trad-781, repository: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781
Commit: 732f347aaad764da2ee1183464a6f38eb5ea291d

Branch: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781

Issue History

Date Modified Username Field Change
2023-08-28 15:09 j.bourgoin New Issue
2023-08-28 15:09 j.bourgoin Assigned To => oan
2023-09-15 17:12 j.bourgoin Assigned To oan => akaftasev
2023-09-15 17:15 dpasukhi Summary Error in solving 4th degree equations => Modeling Algorithms - incorrect result in solving 4th degree equations
2023-09-15 17:15 dpasukhi Target Version => Unscheduled
2023-09-15 19:23 dpasukhi Target Version Unscheduled => 7.8.0
2023-09-15 19:23 dpasukhi Assigned To akaftasev => dpasukhi
2023-09-15 19:23 dpasukhi Status new => assigned
2023-11-17 13:10 j.bourgoin Note Added: 0114609
2023-11-17 13:20 dpasukhi Note Added: 0114610
2024-12-05 16:28 j.bourgoin Note Added: 0116893
2025-09-09 18:48 dpasukhi Note Added: 0117083
2025-09-09 23:19 dpasukhi Note Added: 0117084
2026-01-13 19:19 dpasukhi Assigned To dpasukhi => j.bourgoin
2026-01-13 19:19 dpasukhi Status assigned => resolved
2026-01-13 19:19 dpasukhi Note Added: 0117112