Lines Matching refs:decimal32

29 /* This module comprises the routines for decimal32 format numbers.   */
44 #include "decimal32.h" /* our primary include */
56 void decimal32Show(const decimal32 *); /* for debug */
65 /* decimal32FromNumber -- convert decNumber to decimal32 */
67 /* ds is the target decimal32 */
81 decimal32 * decimal32FromNumber(decimal32 *d32, const decNumber *dn,
95 /* decimal32] */
181 /* decimal32ToNumber -- convert decimal32 to decNumber */
182 /* d32 is the source decimal32 */
186 decNumber * decimal32ToNumber(const decimal32 *d32, decNumber *dn) {
240 /* d32 is the decimal32 format number to convert */
247 char * decimal32ToEngString(const decimal32 *d32, char *string){
254 char * decimal32ToString(const decimal32 *d32, char *string){
375 /* result is the decimal32 format number which gets the result of */
383 /* If an error occurs, the result will be a valid decimal32 NaN. */
385 decimal32 * decimal32FromString(decimal32 *result, const char *string,
403 /* d32 is the source decimal32 */
407 uInt decimal32IsCanonical(const decimal32 *d32) {
409 decimal32 canon; /* .. */
419 /* d32 is the source decimal32 */
420 /* result is the target (may be the same decimal32) */
424 decimal32 * decimal32Canonical(decimal32 *result, const decimal32 *d32) {
434 /* Macros for accessing decimal32 fields. These assume the argument
435 is a reference (pointer) to the decimal32 structure, and the
436 decimal32 is in network byte order (big-endian) */
459 /* decimal32Show -- display a decimal32 in hexadecimal [debug aid] */
463 void decimal32Show(const decimal32 *d32) {