Name the classes that are introduced in the System.Numerics namespace

Name the classes that are introduced in the System.Numerics namespace

There are two new classes that are introduced in the System.Numerics namespace. They are the following: BigInteger and Complex.

1. BigInteger – The BigInteger structure is an non-primitive integral type. It is primarily is used to hold a value of any size, and can support arbitrarily large integers. It has no lower and upper limit, which makes it possible to perform arithmetic calculations with very large numbers, including numbers which cannot hold by double or long.

2. Complex – The Complex structure represents a complex number. It allows for different arithmetic operations with complex numbers. A complex number is represented in the form a + bi, where a is the real part, and b is the imaginary part.

The System.Numerics namespace also contains the SIMD-enabled vector types, such as Vector4, Matrix3x2, Plane, and Quaternion.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.