Searched defs:strntod (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/tests/
H A Dstrtof.c28 * strntod strntold
68 #undef strntod macro
69 #define strntod _tst_strntod macro
72 strntod(const char* s, size_t n, char** e) function
150 d = strntod(s, n, &p);
151 printf("strntod %2d \"%-.*s\" \"%s\" %.*e %s\n", n, n, s, p, DBL_DIG - 1, d, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
154 d = strntod(s, n - 1, &p);
155 printf("strntod %2d \"%-.*s\" \"%s\" %.*e %s\n", n - 1, n - 1, s, p, DBL_DIG - 1, d, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
/ast/src/lib/libdss/
H A Dcx.h181 #undef strntod macro
182 #define strntod(a,b,c) strntold(a,b,c) macro

Completed in 26 milliseconds