glib r5200 - in trunk: . glib tests



Author: behdad
Date: 2007-01-03 20:08:53 +0000 (Wed, 03 Jan 2007)
New Revision: 5200
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5200&view=rev

Added:
   trunk/tests/bit-test.c
Modified:
   trunk/ChangeLog
   trunk/glib/gutils.h
   trunk/tests/Makefile.am
Log:
2007-01-03  Behdad Esfahbod  <behdad gnome org>

        * glib/gutils.h: Fix bug in g_bit_nth_lsf (#371631) and use 
        __builtin_clzl for g_bit_storage if available (#371670).

        * tests/Makefile.am:
        * tests/bit-test.c: New test, to test g_bit_* operations against
        naive and builtin implementations.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]