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

Definition at line 342 of file fxassemblerops.h.

References fxbitscanrev().

00343 {
00344     FXuint m;
00345     union
00346     {
00347         FXulong l;
00348         FXuint i[2];
00349     } _x;
00350     _x.l=x;
00351     m=32+fxbitscanrev(_x.i[!!FOX_BIGENDIAN]);
00352     if(64==m) { m=fxbitscanrev(_x.i[!FOX_BIGENDIAN]); if(32==m) m=64; }
00353     return m;
00354 }


(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