After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110684 - trio printf doesn't pass tests/strtod-test
trio printf doesn't pass tests/strtod-test
Status: RESOLVED DUPLICATE of bug 101874
Product: glib
Classification: Platform
Component: general
2.2.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2003-04-13 17:20 UTC by Dan Winship
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Dan Winship 2003-04-13 17:20:31 UTC
** ERROR **: file strtod-test.c: line 49 (main): assertion failed: (d == g_ascii_strtod (g_ascii_dtostr (buffer, sizeof (buffer), d), NULL))
aborting...

adding these lines before that:

  printf ("(builtin) d is %.15e\n", d);
  g_printf ("(trio)    d is %.15e\n", d);

yields:

  (builtin) d is 5.190168296483627e-309
  (trio)    d is 5.190168296483618e-309
Comment 1 Matthias Clasen 2003-04-14 07:55:45 UTC

*** This bug has been marked as a duplicate of 101874 ***