FXuint FX::fxbitscan ( FXulong  x  )  throw () [inline]

Definition at line 294 of file fxassemblerops.h.

References fxbitscan().

00295 {
00296     FXuint m;
00297     union
00298     {
00299         FXulong l;
00300         FXuint i[2];
00301     } _x;
00302     _x.l=x;
00303     m=fxbitscan(_x.i[!FOX_BIGENDIAN]);
00304     if(32==m) m=32+fxbitscan(_x.i[!!FOX_BIGENDIAN]);
00305     return m;
00306 }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:31:49 2009 for TnFOX by doxygen v1.4.7