Searched refs:LDBL_DIG (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/tests/
H A Dstrtof.c55 #ifndef LDBL_DIG
56 #define LDBL_DIG DBL_DIG macro
120 printf("%u.%u.%u-%u.%u.%u-%u.%u.%u\n", FLT_DIG, -(FLT_MIN_10_EXP), FLT_MAX_10_EXP, DBL_DIG, -(DBL_MIN_10_EXP), DBL_MAX_10_EXP, LDBL_DIG, -(LDBL_MIN_10_EXP), LDBL_MAX_10_EXP);
145 printf("strtold \"%s\" \"%s\" %.*Le %s\n", s, p, LDBL_DIG - 1, ld, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
159 printf("strntold %2d \"%-.*s\" \"%s\" %.*Le %s\n", n, n, s, p, LDBL_DIG - 1, ld, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
163 printf("strntold %2d \"%-.*s\" \"%s\" %.*Le %s\n", n - 1, n - 1, s, p, LDBL_DIG - 1, ld, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
/ast/src/cmd/ksh93/include/
H A Dstreval.h67 #ifndef LDBL_DIG
68 # define LDBL_DIG DBL_DIG macro
/ast/src/lib/libast/sfio/
H A Dsfcvt.c269 { if(n_digit > LDBL_DIG)
270 n_digit = LDBL_DIG;
/ast/src/cmd/builtin/
H A Dod.c292 "L", sizeof(long double),3,LDBL_DIG,LDBL_MAX_10_EXP,
305 "L", sizeof(long double),5,LDBL_DIG,LDBL_MAX_EXP,
/ast/src/cmd/ksh93/sh/
H A Dname.c1822 sfprintf(shp->strbuf,"%.*Lg",LDBL_DIG,*((Sfdouble_t*)sp));

Completed in 26 milliseconds