Vector.Ceiling 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
Ceiling(Vector<Double>) |
Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements. |
Ceiling(Vector<Single>) |
Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements. |
Ceiling(Vector<Double>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements.
public:
static System::Numerics::Vector<double> Ceiling(System::Numerics::Vector<double> value);
public static System.Numerics.Vector<double> Ceiling (System.Numerics.Vector<double> value);
static member Ceiling : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Shared Function Ceiling (value As Vector(Of Double)) As Vector(Of Double)
Public Function Ceiling (value As Vector(Of Double)) As Vector(Of Double)
Parameters
Returns
The vector whose elements are the smallest integral values that are greater 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.
Applies to
Ceiling(Vector<Single>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements.
public:
static System::Numerics::Vector<float> Ceiling(System::Numerics::Vector<float> value);
public static System.Numerics.Vector<float> Ceiling (System.Numerics.Vector<float> value);
static member Ceiling : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Shared Function Ceiling (value As Vector(Of Single)) As Vector(Of Single)
Public Function Ceiling (value As Vector(Of Single)) As Vector(Of Single)
Parameters
Returns
The vector whose elements are the smallest integral values that are greater 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for