Lines Matching refs:decimal32
32 /* This module comprises the routines for decimal32 format numbers. */
46 #include "decimal32.h" /* our primary include */
50 void decimal32Show (const decimal32 *); /* for debug */
59 /* decimal32FromNumber -- convert decNumber to decimal32 */
61 /* ds is the target decimal32 */
75 decimal32 *
76 decimal32FromNumber (decimal32 * d32, const decNumber * dn, decContext * set)
103 /* rounding must be done before we generate the decimal32] */
187 /* decimal32ToNumber -- convert decimal32 to decNumber */
188 /* d32 is the source decimal32 */
193 decimal32ToNumber (const decimal32 * d32, decNumber * dn)
196 decimal32 wk; /* working copy, if needed */
238 /* make a copy of the decimal32, with an extra bunch which has */
259 /* d32 is the decimal32 format number to convert */
267 decimal32ToString (const decimal32 * d32, char *string)
276 decimal32ToEngString (const decimal32 * d32, char *string)
289 /* result is the decimal32 format number which gets the result of */
297 /* If an error occurs, the result will be a valid decimal32 NaN. */
299 decimal32 *
300 decimal32FromString (decimal32 * result, const char *string, decContext * set)
324 decimal32Show (const decimal32 * d32)