Microsoft.Bcl.Numerics 9.0.17

About

As of .NET Core 2.0 and .NET Standard 2.1, the C# language has support for math (System.MathF) functions with floats. This library provides the necessary definitions of those types to support these language features on .NET Framework and on .NET Standard 2.0. This library is not necessary nor recommended when targeting versions of .NET that include the relevant support.

Key Features

  • Enables the use of MathF on older .NET platforms

How to Use

using System;

internal static class Program
{
    private static async Task Main()
    {       
        Console.WriteLine(MathF.Max(1f, 5f)); // returns 5f
    }
}

Main Types

The main types provided by this library are:

  • System.MathF

Additional Documentation

Feedback & Contributing

Microsoft.Bcl.Numerics is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Bcl.Numerics.

Packages Downloads
System.Numerics.Tensors
Provides support for operating over tensors.
45
System.Numerics.Tensors
Provides support for operating over tensors.
41
System.Numerics.Tensors
Provides support for operating over tensors.
38
System.Numerics.Tensors
Provides support for operating over tensors.
37
System.Numerics.Tensors
Provides support for operating over tensors.
36
System.Numerics.Tensors
Provides support for operating over tensors.
35
System.Numerics.Tensors
Provides support for operating over tensors.
34

.NET Framework 4.6.2

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
11.0.0-preview.5.26302.115 4 06/14/2026
11.0.0-preview.4.26230.115 17 05/14/2026
11.0.0-preview.3.26207.106 24 04/18/2026
11.0.0-preview.2.26159.112 26 03/14/2026
11.0.0-preview.1.26104.118 26 02/12/2026
10.0.9 4 06/14/2026
10.0.8 14 05/14/2026
10.0.7 23 04/24/2026
10.0.6 19 04/18/2026
10.0.5 25 03/14/2026
10.0.4 25 03/14/2026
10.0.3 31 02/12/2026
10.0.2 30 01/15/2026
10.0.1 35 12/11/2025
10.0.0 27 12/10/2025
10.0.0-rc.2.25502.107 27 12/20/2025
10.0.0-rc.1.25451.107 29 12/20/2025
10.0.0-preview.7.25380.108 30 12/11/2025
10.0.0-preview.6.25358.103 30 12/11/2025
10.0.0-preview.5.25277.114 29 12/11/2025
10.0.0-preview.4.25258.110 31 12/11/2025
10.0.0-preview.3.25171.5 27 12/20/2025
10.0.0-preview.2.25163.2 32 12/11/2025
10.0.0-preview.1.25080.5 31 12/11/2025
9.0.17 5 06/15/2026
9.0.16 19 05/14/2026
9.0.15 26 04/18/2026
9.0.14 25 03/14/2026
9.0.13 26 02/12/2026
9.0.12 30 01/15/2026
9.0.11 31 12/11/2025
9.0.10 36 12/11/2025
9.0.9 30 12/11/2025
9.0.8 26 12/11/2025
9.0.7 26 12/11/2025
9.0.6 28 12/11/2025
9.0.5 27 12/11/2025
9.0.4 28 12/11/2025
9.0.3 30 12/11/2025
9.0.2 30 12/11/2025
9.0.1 35 12/11/2025
9.0.0 31 12/23/2025
9.0.0-rc.2.24473.5 24 12/11/2025
9.0.0-rc.1.24431.7 27 12/11/2025
9.0.0-preview.7.24405.7 26 12/20/2025
9.0.0-preview.6.24327.7 29 12/20/2025
9.0.0-preview.5.24306.7 28 12/20/2025
9.0.0-preview.4.24266.19 30 12/11/2025
9.0.0-preview.3.24172.9 26 12/11/2025
9.0.0-preview.2.24128.5 29 12/11/2025
9.0.0-preview.1.24080.9 27 12/20/2025
8.0.0 32 12/11/2025
8.0.0-rc.2.23479.6 35 12/11/2025