MeshLib C Docs
Loading...
Searching...
No Matches
MRBitCast.h File Reference
#include <MRCMisc/exports.h>
#include <stdint.h>

Go to the source code of this file.

Functions

MRC_API uint64_t MR_bit_cast_uint64_t_double (const double *from)
MRC_API double MR_bit_cast_double_uint64_t (const uint64_t *from)
MRC_API unsigned int MR_bit_cast_unsigned_int_float (const float *from)
MRC_API float MR_bit_cast_float_unsigned_int (const unsigned int *from)
MRC_API int MR_bit_cast_int_float (const float *from)

Function Documentation

◆ MR_bit_cast_double_uint64_t()

MRC_API double MR_bit_cast_double_uint64_t ( const uint64_t * from)

std::bit_cast wrapper with the compiler's intrinsic fallback Generated from function MR::bit_cast<double, uint64_t>. Parameter from can not be null. It is a single object.

◆ MR_bit_cast_float_unsigned_int()

MRC_API float MR_bit_cast_float_unsigned_int ( const unsigned int * from)

std::bit_cast wrapper with the compiler's intrinsic fallback Generated from function MR::bit_cast<float, unsigned int>. Parameter from can not be null. It is a single object.

◆ MR_bit_cast_int_float()

MRC_API int MR_bit_cast_int_float ( const float * from)

std::bit_cast wrapper with the compiler's intrinsic fallback Generated from function MR::bit_cast<int, float>. Parameter from can not be null. It is a single object.

◆ MR_bit_cast_uint64_t_double()

MRC_API uint64_t MR_bit_cast_uint64_t_double ( const double * from)

std::bit_cast wrapper with the compiler's intrinsic fallback Generated from function MR::bit_cast<uint64_t, double>. Parameter from can not be null. It is a single object.

◆ MR_bit_cast_unsigned_int_float()

MRC_API unsigned int MR_bit_cast_unsigned_int_float ( const float * from)

std::bit_cast wrapper with the compiler's intrinsic fallback Generated from function MR::bit_cast<unsigned int, float>. Parameter from can not be null. It is a single object.