DTOSTR_BUF_SIZE


Description:

public const int DTOSTR_BUF_SIZE

A good size for a buffer to be passed into to_str.

It is guaranteed to be enough for all output of that function on systems with 64bit IEEE-compatible doubles.

The typical usage would be something like:

  char buf[G_ASCII_DTOSTR_BUF_SIZE];

fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));