Blender V4.3
BLI_math_half.hh File Reference
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::math
 

Functions

uint16_t blender::math::float_to_half (float v)
 
float blender::math::half_to_float (uint16_t v)
 
void blender::math::float_to_half_array (const float *src, uint16_t *dst, size_t length)
 
void blender::math::half_to_float_array (const uint16_t *src, float *dst, size_t length)