MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / isequal

Method isequal

extern/half/include/half.hpp:1897–1897  ·  view source on GitHub ↗

Comparison implementation. \param x first operand \param y second operand \retval true if operands equal \retval false else

Source from the content-addressed store, hash-verified

1895 /// \retval true if operands equal
1896 /// \retval false else
1897 static bool isequal(half x, half y) { return (x.data_==y.data_ || !((x.data_|y.data_)&0x7FFF)) && !isnan(x); }
1898
1899 /// Comparison implementation.
1900 /// \param x first operand

Callers

nothing calls this directly

Calls 1

isnanFunction · 0.70

Tested by

no test coverage detected