Show / Hide Table of Contents

Class MathHelper

Inheritance
Object
MathHelper
Namespace: BenchmarkDotNet.Mathematics
Assembly: BenchmarkDotNet.dll
Syntax
public static class MathHelper

Methods

Clamp(Int32, Int32, Int32)

Declaration
public static int Clamp(int value, int min, int max)
Parameters
Type Name Description
Int32 value
Int32 min
Int32 max
Returns
Type Description
Int32
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors