MCPcopy Create free account
hub / github.com/apache/singa / operator/

Method operator/

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

Source from the content-addressed store, hash-verified

1895 /// \param b second operand
1896 /// \return \a a / \a b
1897 friend f31 operator/(f31 a, f31 b)
1898 {
1899 int i = a.m >= b.m, s;
1900 uint32 m = divide64((a.m+i)>>i, b.m, s);
1901 return f31(m, a.exp - b.exp + i - 1);
1902 }
1903
1904 uint32 m; ///< mantissa as 1.31.
1905 int exp; ///< exponent.

Callers

nothing calls this directly

Calls 2

divide64Function · 0.85
f31Class · 0.85

Tested by

no test coverage detected