mcConvF2E, mcConvE2F — Convert float data in memory
#include <memcom.h> void mcConvF2E(mcFloat64* in, mcFloat32* out, mcInt32 n); void mcConvE2F(mcFloat32* in, mcFloat64* out, mcInt32 n);
mcConv
are simple functions which convert
floating-point arrays from one format to another. The calling
function must make sure that the converted array is large enough to
hold the data!
mcConvF2E
converts
mcFloat64
values to mcFloat32
values. mcConvE2F
converts
mcFloat32
values to mcFloat64
values.