Lines Matching refs:decimal128
32 /* This module comprises the routines for decimal128 format numbers. */
46 #include "decimal128.h" /* our primary include */
50 void decimal128Show (const decimal128 *); /* for debug */
59 /* decimal128FromNumber -- convert decNumber to decimal128 */
61 /* ds is the target decimal128 */
75 decimal128 *
76 decimal128FromNumber (decimal128 * d128, const decNumber * dn, decContext * set)
103 /* rounding must be done before we generate the decimal128] */
190 /* decimal128ToNumber -- convert decimal128 to decNumber */
191 /* d128 is the source decimal128 */
196 decimal128ToNumber (const decimal128 * d128, decNumber * dn)
199 decimal128 wk; /* working copy, if needed */
241 /* make a copy of the decimal128, with an extra bunch which has */
267 /* d128 is the decimal128 format number to convert */
275 decimal128ToString (const decimal128 * d128, char *string)
284 decimal128ToEngString (const decimal128 * d128, char *string)
297 /* result is the decimal128 format number which gets the result of */
305 /* If an error occurs, the result will be a valid decimal128 NaN. */
307 decimal128 *
308 decimal128FromString (decimal128 * result, const char *string, decContext * set)
333 decimal128Show (const decimal128 * d128)