Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Bitwise operations

From: tim:johnsons-web at: 14-Aug-2003 18:38

* Nenad Rakocevic <[dockimbel--free--fr]> [030814 17:56]: <... snip ...> > (data/4 * 16777216) ]
> Until RT releases the plugin API so you'll be able to code them in C directly, > here's a faster implementation of these functions :
??? I've been out of the loop for a while. Any more details on the "plugin API"? URL for Docs? thnx tj
> bin16: func [n][at debase/base to-hex n 16 3] > > bin16-le: func [n][copy/part head reverse debase/base to-hex n 16 2] > > bin32: func [n][debase/base to-hex n 16] > > bin32-le: func [n][head reverse debase/base to-hex n 16] > > swap16: swap32: func [data][to integer! head reverse data] > > HTH, > -DocKimbel > -- > To unsubscribe from this list, just send an email to > [rebol-request--rebol--com] with unsubscribe as the subject.
-- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com