Last chance! 50% off unlimited learning
Sale ends in
This function converts double values to double values in a given precision (only correctly working for cut a higher precision to a lower one; e.g. IEEE 754 double precision to IEEE 754 single precision)
.changePrecision(x, size)
double
.
double
, a vector of double values which should converted.
integer
, how many bytes using for target precision
e.g. IEEE 754 single precision: size=4
,
IEEE 754 double precision: size=8
.double2singlePrecision
,