|
half
2.2
IEEE 754-based half-precision floating-point library
|
Hash function for half-precision floats. More...
Public Types | |
| typedef half_float::half | argument_type |
| Type of function argument. | |
| typedef size_t | result_type |
| Function return type. | |
Public Member Functions | |
| result_type | operator() (argument_type arg) const |
| Compute hash function. More... | |
Hash function for half-precision floats.
This is only defined if C++11 std::hash is supported and enabled.
See also: Documentation for std::hash
|
inline |
Compute hash function.
| arg | half to hash |