sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
std::hash< half_float::half > Struct Reference

Hash function for half-precision floats. More...

#include <float16_t.hpp>

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.
 

Detailed Description

Hash function for half-precision floats.

See also: Documentation for std::hash

Definition at line 2054 of file float16_t.hpp.

Member Typedef Documentation

◆ argument_type

typedef half_float::half std::hash< half_float::half >::argument_type

Type of function argument.

Definition at line 2056 of file float16_t.hpp.

◆ result_type

typedef size_t std::hash< half_float::half >::result_type

Function return type.

Definition at line 2059 of file float16_t.hpp.

Member Function Documentation

◆ operator()()

result_type std::hash< half_float::half >::operator() ( argument_type arg) const
inline

Compute hash function.

Parameters
arghalf to hash
Returns
hash value

Definition at line 2064 of file float16_t.hpp.


The documentation for this struct was generated from the following file: