# Search the Community

Showing results for tags 'precision'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• Algorithms, Data Structures and Class Design
• VCL
• FMX
• RTL and Delphi Object Pascal
• Databases
• Network, Cloud and Web
• Windows API
• Cross-platform
• Delphi IDE and APIs
• General Help
• Delphi Third-Party
• General Help
• General Discussions
• Tips / Blogs / Tutorials / Videos
• Job Opportunities / Coder for Hire
• Software Development
• Project Planning and -Management
• Software Testing and Quality Assurance
• Community
• Community Management

### Calendars

• Community Calendar

• 0 Replies

• 0 Reviews

• 0 Views

Found 2 results

1. ## High-Precision Floating-Point Types for Delphi

Need more precision than Single and Double can provide? Then maybe this will help: https://blog.grijjy.com/2021/05/05/high-precision/
2. ## Delphi implementation of Aberth–Ehrlich method and precision problem

I've implemented Aberth–Ehrlich method for finding all roots of polynomial (actually it's one of steps of eigenvalues finding). It works very well with the degree less or equal 25. But when degree is larger, my Delphi calculations begin to fail. In both cases speed of calctions is acceptable (< 1 sec). I'm quite sure it's because an accumulation of errors of very small and very large numbers during calculations. For an algorithm needs I've developer TComplex = record … end; structure based on Double. The same result I got when the base data type is Extended. I'm quite sure the problem is not an algorithm, because when I've updated TComplex to use MPArith multi precision library rather, I got exactly the same results as Octave and Matlab programs - so I assume they are correct. But in this case time of calculation is veeery slooow (more than 20 min) because MPArith works with the memory rather. So my questions are: Do you know how to bypass multi precision issue in Delphi? Do you think, if I'll port realization of calculation to another programming language (f.e. C++, C# or any other), I'll have no problem with the precision of calculations? Sure, I'll have to wrap it into dll to call within the Delphi code. Did you already fixed a similar issue related to multi precision (maybe other more fast library)? Any thoughts are welcome.
×