Half.Equals 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
Equals(Half) |
Compares this instance for equality with |
Equals(Object) |
Returns a value that indicates whether this instance is equal to the specified |
Equals(Half)
- Source:
- Half.cs
- Source:
- Half.cs
- Source:
- Half.cs
Compares this instance for equality with other
.
public:
virtual bool Equals(Half other);
public bool Equals (Half other);
override this.Equals : Half -> bool
Public Function Equals (other As Half) As Boolean
Parameters
- other
- Half
A half-precision floating point number to compare to this instance.
Returns
true
if the current object is equal to other
; otherwise, false
.
Implements
Applies to
Equals(Object)
- Source:
- Half.cs
- Source:
- Half.cs
- Source:
- Half.cs
Returns a value that indicates whether this instance is equal to the specified obj
.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare to this instance.
Returns
true
if obj
is an instance of Half and equals the value of this instance; otherwise, false
.