#include <cstring>
#include <string>
#include <glib.h>
#include "svg/strip-trailing-zeros.h"
{
/* N.B. In some contexts (e.g. CSS) it is an error for a number to contain `e'. fixme:
* Default to avoiding `e', e.g. using sprintf(str, "%17f", d). Add a new function that
* allows use of `e' and use that function only where the spec allows it.
*/
? e_ix
: e_ix - 1));
g_error("have `.' but couldn't find non-0");
} else {
? p_ix
: nz_ix + 1),
}
}
return str;
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :