Ejemplo n.º 1
0
/**
 * Constructs a dynd_float16 from a uint16_t
 * containing its bits.
 */
DYND_CUDA_HOST_DEVICE inline dynd_float16 float16_from_bits(uint16_t bits) {
    return dynd_float16(bits, dynd_float16::raw_bits_tag());
}
Ejemplo n.º 2
0
/**
 * Constructs a dynd_float16 from a uint16_t
 * containing its bits.
 */
inline dynd_float16 float16_from_bits(uint16_t bits) {
    return dynd_float16(bits, dynd_float16::raw_bits_tag());
}