CMATH for Borland C/C++ icon

CMATH for Borland C/C++

3.7/5 3
Trial   

A useful and comprehensive components pack for complex-number arithmetics and advanced mathematics in polar and cartesian coordinates. #Complex-number arithmetics  #Complex-number mathematics  #Delphi compilers  #Pascal  #Delphi  #Number  

CMATH for Borland C/C++ is a useful and comprehensive library for complex-number arithmetics and mathematics, both in cartesian and in polar coordinates, for C/C++ and Pascal/Delphi compilers. CMATH is available as a stand-alone product. It is also included in the OptiVec package.

All functions may alternatively be called from classic C and Pascal/Delphi with type-specific function names (like cf_sin, cd_exp, pe_sqrt), or from C++ and Delphi with overloaded function names and operators (like sin, exp, sqrt, operator +; operators only in C++). As far as possible, all functions have the same names in the Pascal/Delphi version as in the C/C++ version.

Superior speed, accuracy and safety are achieved through the implementation in Assembly language (as opposed to the compiled or inline code of available complex C++ class libraries). Only for the most simple tasks, alternative inline C++ functions are used in the C++ version.

As far as the scope of CMATH overlaps with the complex class implementations of Visual C++, Borland C++, and Delphi, CMATH is a high-quality replacement for the latter, which are all quite inefficient and inaccurate.

In contrast to the written-down-and-compiled textbook formulas of most other available complex libraries (including those coming with Visual C++ and the Borland compilers), the implementation of CMATH was guided by the following rules:

Without any compromise, top priority is always given to the mathematically correct result, with the accuracy demanded for the respective data type. Especially for complex functions, this necessitates a very thorough treatment of many different situations. To this end, the various cases have to be distinguished with pedantic care. (Textbook formulas do not need to treat these situations separately, as they theoretically assume infinite accuracy of intermediate results; an actual implementation, however, has to work with the limited accuracy given by real-life processors.)

Mathematical functions must be "safe" under all circumstances. They may for no reason simply crash, but have to perform a decent error treatment. This is true even - and perhaps especially - for seemingly nonsense arguments, with the single exception of the non-numbers INF and NAN, which occur themselves only as a result of serious errors in other functions.

By all possible means, greatest execution speed must be attained. (After all, you did not buy your fast computer for nothing!) The program code has to be as compact as possible. However, in case of conflicts, faster execution speed is always given priority over smaller code size.

System requirements

  • Embarcadero / Borland C++ ( RAD Studio or C++ Builder). 32-bit: BC++5 or higher; 64-bit: min XE3

Limitations in the unregistered version

  • Can be used for a full 90 days, before they cease functioning and remind you to get a registered copy.

CMATH for Borland C/C++ 8.2.6

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows 11
Windows 10 64 bit
Windows 8 64 bit
Windows 7 64 bit
Windows Vista 64 bit
  file size:
644 KB
  filename:
cmbc.zip
  1 screenshot:
CMATH for Borland C/C++ - CMATH for Borland C/C++ allows you to create apps capable of performing accurate advanced math operations.
  main category:
Programming
  developer:
  visit homepage

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

% discount
Context Menu Manager
  • Context Menu Manager
  • Windows Sandbox Launcher
  • ShareX
  • 7-Zip
  • Zoom Client
  • calibre
  • IrfanView
  • Bitdefender Antivirus Free
  • Microsoft Teams
  • 4k Video Downloader
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy