Hi, gcvt(3) is documented as being MT-, AS-, and AC-Safe. However, the following code calls sprintf(3), which is not safe. $ grepc __GCVT . ./misc/efgcvt-template.c:char * __GCVT (FLOAT_TYPE value, int ndigit, char *buf) { SPRINTF (buf, "%.*" FLOAT_FMT_FLAG "g", MIN (ndigit, NDIGIT_MAX), value); return buf; } ./misc/qefgcvt.c:#define __GCVT __qgcvt ./misc/efgcvt.c:#define __GCVT __gcvt ./sysdeps/ieee754/ldbl-128ibm-compat/ieee128-qefgcvt.c:#define __GCVT ___qgcvtieee128 Is that subset of sprintf(3) functionality safe? Have a lovely day! Alex --