MathExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implementations of some functions missing in older .NET versions
C#
public static class MathExtensions
type MathExtensions = class
Public Class MathExtensions
- Inheritance
-
MathExtensions
Clamp(Byte, Byte, Byte) |
Returns val, limited to the range min-max (inclusive) |
Clamp(Double, Double, Double) |
Returns val, limited to the range min-max (inclusive) |
Clamp(Int32, Int32, Int32) |
Returns val, limited to the range min-max (inclusive) |
Clamp(Int64, Int64, Int64) |
Returns val, limited to the range min-max (inclusive) |
Clamp(UInt32, UInt32, UInt32) |
Returns val, limited to the range min-max (inclusive) |
Product | Versions |
---|---|
.NET IoT Libraries | 1.5.0 |