Convert the first n values of src, interpreted as being of type src_type, to values of the destination data type (the data type of dst) and place the values in dst. The values are first scaled by bzero and bscale. If the scaled values are not within the range representable by the destination datatype, they are replaced by the destination-datatype-specific missing value; otherwise, the scaled values are placed in dst. (This is almost certainly a bug!) If src_type is DRMS_TYPE_STRING, the data strings are interpreted as character representations of numbers with strtod, and then scaled. If the resulting values are within the representable range for the destination datatype, they are placed in dst, otherwise the appropriate missing value is used. (This appears to be the only case for which these functions behave as expected.)
Definition at line 354 of file drms_array.c.
|