Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public bool
Equals(
half rhs);
Parameters
| Parameter |
Description |
| rhs |
Right hand side half value to use in comparison. |
Returns
bool
True if the half value is bitwise equivalent to the input, false otherwise.
Description
Returns true if the half is bitwise equivalent to a given half, false otherwise.
Declaration
public bool Equals(Object o);
Parameters
| Parameter |
Description |
| o |
Right hand side object to use in comparison. |
Returns
bool
True if the object is of type half and is bitwise equivalent, false otherwise.
Description
Returns true if the half is equal to a given half, false otherwise.