Vector.Floor Method
Definition
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.
Overloads
Floor(Vector<Double>) |
Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements. |
Floor(Vector<Single>) |
Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements. |
Floor(Vector<Double>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.
public:
static System::Numerics::Vector<double> Floor(System::Numerics::Vector<double> value);
public static System.Numerics.Vector<double> Floor (System.Numerics.Vector<double> value);
static member Floor : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Shared Function Floor (value As Vector(Of Double)) As Vector(Of Double)
Public Function Floor (value As Vector(Of Double)) As Vector(Of Double)
Parameters
Returns
The vector whose elements are the largest integral values that are less than or equal to the given vector's elements. If a value is equal to NaN, NegativeInfinity, or PositiveInfinity, that value is returned.
Remarks
Note that this method returns a Double instead of an integral type.
See also
Applies to
Floor(Vector<Single>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.
public:
static System::Numerics::Vector<float> Floor(System::Numerics::Vector<float> value);
public static System.Numerics.Vector<float> Floor (System.Numerics.Vector<float> value);
static member Floor : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Shared Function Floor (value As Vector(Of Single)) As Vector(Of Single)
Public Function Floor (value As Vector(Of Single)) As Vector(Of Single)
Parameters
Returns
The vector whose elements are the largest integral values that are less than or equal to the given vector's elements. If a value is equal to NaN, NegativeInfinity, or PositiveInfinity, that value is returned.
Remarks
Note that this method returns a Single instead of an integral type.