Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1098
  • Last Modified:

C/C++ Math Library implemented in C#?

Hi, it seems that C# does not fully implement the ANSI Math library found in C/C++. For example there are a bunch of functions totally missing such as frexp, ldexp, etc..

Do you know if there is a more complete Math class written in C#?

Thanks.
Naim.
0
bentahar
Asked:
bentahar
1 Solution
 
dclaydonCommented:
If you really want these functions, create a managed C++ wrapper that can be called from C#. (Create in the form of a DLL with a .h file, that defines the functions required.

There are maths libs written on the web that do extend the C# library - but most of them use either existing C# functions or have a C++ interface to existing ASCII code.

DC
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now